summaryrefslogtreecommitdiff
path: root/decoder/test/lin/test.conf
diff options
context:
space:
mode:
authorstephan.thiele <stephan.thiele@mailbox.org>2018-10-20 17:25:33 +0200
committerUwe Hermann <uwe@hermann-uwe.de>2018-10-21 19:25:55 +0200
commit22786fb2c17683ffb49914457e6cfd9d9cec311f (patch)
tree13624de198b6ab5b9a8387e6e703b51b237c66a9 /decoder/test/lin/test.conf
parenteb7f7eff3c04cac2dfc84990cf2b487e95a31ee4 (diff)
downloadsigrok-test-22786fb2c17683ffb49914457e6cfd9d9cec311f.tar.gz
sigrok-test-22786fb2c17683ffb49914457e6cfd9d9cec311f.zip
add LIN tests
Diffstat (limited to 'decoder/test/lin/test.conf')
-rw-r--r--decoder/test/lin/test.conf34
1 files changed, 34 insertions, 0 deletions
diff --git a/decoder/test/lin/test.conf b/decoder/test/lin/test.conf
new file mode 100644
index 0000000..9ba2423
--- /dev/null
+++ b/decoder/test/lin/test.conf
@@ -0,0 +1,34 @@
+test lin_generated_single_frame
+ protocol-decoder uart channel rx=0 option baudrate=19200 option format=ascii
+ protocol-decoder lin option version=2
+ stack uart lin
+ input uart/lin/lin_generated/single_frame.sr
+ output lin annotation match lin_generated_single_frame.output
+
+test lin_generated_burst
+ protocol-decoder uart channel rx=0 option baudrate=19200 option format=ascii
+ protocol-decoder lin option version=2
+ stack uart lin
+ input uart/lin/lin_generated/burst.sr
+ output lin annotation match lin_generated_burst.output
+
+test lin_generated_stress
+ protocol-decoder uart channel rx=0 option baudrate=19200 option format=ascii
+ protocol-decoder lin option version=2
+ stack uart lin
+ input uart/lin/lin_generated/stress.sr
+ output lin annotation match lin_generated_stress.output
+
+test lin_generated_malformed
+ protocol-decoder uart channel rx=0 option baudrate=19200 option format=ascii
+ protocol-decoder lin option version=2
+ stack uart lin
+ input uart/lin/lin_generated/malformed.sr
+ output lin annotation match lin_generated_malformed.output
+
+test lin_generated_malformed2
+ protocol-decoder uart channel rx=0 option baudrate=19200 option format=ascii
+ protocol-decoder lin option version=2
+ stack uart lin
+ input uart/lin/lin_generated/malformed2.sr
+ output lin annotation match lin_generated_malformed2.output