diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2014-09-01 18:23:54 +0200 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2014-09-01 18:23:54 +0200 |
commit | dd37a782a8637bdee703a13c949b222b9ba8b95d (patch) | |
tree | 3674fe7fbd2116a84fbccabf82856423fea6a399 /decoder/test/i2c/test.conf | |
download | sigrok-test-dd37a782a8637bdee703a13c949b222b9ba8b95d.tar.gz sigrok-test-dd37a782a8637bdee703a13c949b222b9ba8b95d.zip |
Add initial set of PD tests.
This is a slightly modified version of the PD test suite that was part
of libsigrokdecode previously.
Diffstat (limited to 'decoder/test/i2c/test.conf')
-rw-r--r-- | decoder/test/i2c/test.conf | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/decoder/test/i2c/test.conf b/decoder/test/i2c/test.conf new file mode 100644 index 0000000..e383f5f --- /dev/null +++ b/decoder/test/i2c/test.conf @@ -0,0 +1,27 @@ +test rtc + protocol-decoder i2c channel scl=0 channel sda=1 + input i2c/rtc_dallas_ds1307/rtc_ds1307_200khz.sr + output i2c annotation class data-read match rtc_ds1307_200khz_data_read.output + output i2c annotation class data-write match rtc_ds1307_200khz_data_write.output + output i2c annotation match rtc_ds1307_200khz.output + output i2c python match rtc_ds1307_200khz.python + +test motherboard + protocol-decoder i2c channel scl=0 channel sda=3 + input i2c/gigabyte_6vle-vxl_i2c/gigabyte_6vle_vxl_i2c.sr + output i2c annotation match gigabyte_6vle_vxl_i2c.output + output i2c python match gigabyte_6vle_vxl_i2c.python + +test xfp + protocol-decoder i2c channel scl=0 channel sda=1 + input i2c/network-transceivers/xfp.sr + output i2c binary class data-read match xfp_data_read.binary + output i2c binary class data-write match xfp_data_write.binary + output i2c binary class address-read match xfp_address_read.binary + output i2c binary class address-write match xfp_address_write.binary + +test exception_samplerate + protocol-decoder i2c + input misc/no-samplerate.sr + output i2c exception match SamplerateError + |