diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2014-11-09 17:25:31 +0100 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2014-11-09 20:10:43 +0100 |
commit | de252e41d4f36a2603098d08c9128ddeb69b9029 (patch) | |
tree | 422cc3316c75d9b8a817a41303bdb371b8cf237b | |
parent | 0e8085a835bf6faf0542d65dbdcf0f4e721464e6 (diff) | |
download | sigrok-test-de252e41d4f36a2603098d08c9128ddeb69b9029.tar.gz sigrok-test-de252e41d4f36a2603098d08c9128ddeb69b9029.zip |
Add a test-case for the 'jitter' decoder.
-rw-r--r-- | decoder/test/jitter/test.conf | 9 | ||||
-rw-r--r-- | decoder/test/jitter/toim4243.output | 32 |
2 files changed, 41 insertions, 0 deletions
diff --git a/decoder/test/jitter/test.conf b/decoder/test/jitter/test.conf new file mode 100644 index 0000000..91a2f9b --- /dev/null +++ b/decoder/test/jitter/test.conf @@ -0,0 +1,9 @@ +test toim4243 + protocol-decoder jitter channel clk=3 channel sig=2 option clk_polarity=falling option sig_polarity=falling + input uart/toim4243/toim4243_10byte_send_snippet.sr + output jitter annotation match toim4243.output + +test exception_samplerate + protocol-decoder jitter + input misc/no-samplerate.sr + output jitter exception match SamplerateError diff --git a/decoder/test/jitter/toim4243.output b/decoder/test/jitter/toim4243.output new file mode 100644 index 0000000..92d9c67 --- /dev/null +++ b/decoder/test/jitter/toim4243.output @@ -0,0 +1,32 @@ +8469-8497 jitter: jitter: "14.0μs" +8538-8566 jitter: jitter: "14.0μs" +8677-8705 jitter: jitter: "14.0μs" +8816-8846 jitter: jitter: "15.0μs" +8920-8950 jitter: jitter: "15.0μs" +9058-9088 jitter: jitter: "15.0μs" +9163-9190 jitter: jitter: "13.5μs" +9267-9296 jitter: jitter: "14.5μs" +9405-9435 jitter: jitter: "15.0μs" +9509-9537 jitter: jitter: "14.0μs" +9648-9678 jitter: jitter: "15.0μs" +9787-9814 jitter: jitter: "13.5μs" +9856-9886 jitter: jitter: "15.0μs" +9925-9953 jitter: jitter: "14.0μs" +9995-10023 jitter: jitter: "14.0μs" +10064-10094 jitter: jitter: "15.0μs" +10133-10161 jitter: jitter: "14.0μs" +10203-10231 jitter: jitter: "14.0μs" +10342-10369 jitter: jitter: "13.5μs" +10480-10510 jitter: jitter: "15.0μs" +10550-10577 jitter: jitter: "13.5μs" +10688-10718 jitter: jitter: "15.0μs" +10827-10855 jitter: jitter: "14.0μs" +10896-10926 jitter: jitter: "15.0μs" +11070-11100 jitter: jitter: "15.0μs" +11243-11271 jitter: jitter: "14.0μs" +11313-11342 jitter: jitter: "14.5μs" +11451-11479 jitter: jitter: "14.0μs" +11590-11618 jitter: jitter: "14.0μs" +11694-11724 jitter: jitter: "15.0μs" +11763-11793 jitter: jitter: "15.0μs" +11833-11863 jitter: jitter: "15.0μs" |