summaryrefslogtreecommitdiff
path: root/decoder/test/aud
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2016-03-20 20:10:18 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2016-03-20 20:10:18 +0100
commitb957533fd382c214a38eb0f09133b66a39e8e0eb (patch)
treeed8984a0150615687058956824ff806a9470c124 /decoder/test/aud
parente23d40cb1206d49f708938f28fafbe6c0563559a (diff)
downloadsigrok-test-b957533fd382c214a38eb0f09133b66a39e8e0eb.tar.gz
sigrok-test-b957533fd382c214a38eb0f09133b66a39e8e0eb.zip
Add an AUD test-case.
Diffstat (limited to 'decoder/test/aud')
-rw-r--r--decoder/test/aud/audgen-01.output5
-rw-r--r--decoder/test/aud/test.conf4
2 files changed, 9 insertions, 0 deletions
diff --git a/decoder/test/aud/audgen-01.output b/decoder/test/aud/audgen-01.output
new file mode 100644
index 0000000..a31b226
--- /dev/null
+++ b/decoder/test/aud/audgen-01.output
@@ -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
index 0000000..98e6cbf
--- /dev/null
+++ b/decoder/test/aud/test.conf
@@ -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