]> sigrok.org Git - sigrok-test.git/commitdiff
Add a test-case for the 'jitter' decoder.
authorUwe Hermann <redacted>
Sun, 9 Nov 2014 16:25:31 +0000 (17:25 +0100)
committerUwe Hermann <redacted>
Sun, 9 Nov 2014 19:10:43 +0000 (20:10 +0100)
decoder/test/jitter/test.conf [new file with mode: 0644]
decoder/test/jitter/toim4243.output [new file with mode: 0644]

diff --git a/decoder/test/jitter/test.conf b/decoder/test/jitter/test.conf
new file mode 100644 (file)
index 0000000..91a2f9b
--- /dev/null
@@ -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 (file)
index 0000000..92d9c67
--- /dev/null
@@ -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"