]> sigrok.org Git - sigrok-test.git/commitdiff
Add an AUD test-case.
authorUwe Hermann <redacted>
Sun, 20 Mar 2016 19:10:18 +0000 (20:10 +0100)
committerUwe Hermann <redacted>
Sun, 20 Mar 2016 19:10:18 +0000 (20:10 +0100)
decoder/test/aud/audgen-01.output [new file with mode: 0644]
decoder/test/aud/test.conf [new file with mode: 0644]

diff --git a/decoder/test/aud/audgen-01.output b/decoder/test/aud/audgen-01.output
new file mode 100644 (file)
index 0000000..a31b226
--- /dev/null
@@ -0,0 +1,5 @@
+20-110 aud: dest: "0x00000104"
+140-190 aud: dest: "0x00001408"
+210-240 aud: dest: "0x00001432"
+240-260 aud: dest: "0x00001438"
+320-370 aud: dest: "0x00002544"
diff --git a/decoder/test/aud/test.conf b/decoder/test/aud/test.conf
new file mode 100644 (file)
index 0000000..98e6cbf
--- /dev/null
@@ -0,0 +1,4 @@
+test audgen-01
+       protocol-decoder aud channel audck=0 channel naudsync=1 channel audata3=2 channel audata2=3 channel audata1=4 channel audata0=5
+       input aud/audgen-01.sr
+       output aud annotation match audgen-01.output