summaryrefslogtreecommitdiff
path: root/decoder/test/graycode/test.conf
diff options
context:
space:
mode:
authorGerhard Sittig <gerhard.sittig@gmx.net>2018-02-13 20:45:34 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2018-02-13 21:15:55 +0100
commitb665563e2d256f7e4fb2494c209483c7b2490229 (patch)
tree9abc0d2563f50e40c2a43681b98065f4b6c54698 /decoder/test/graycode/test.conf
parent16282c4796ec9af0809f69300e0b50f3725fe348 (diff)
downloadsigrok-test-b665563e2d256f7e4fb2494c209483c7b2490229.tar.gz
sigrok-test-b665563e2d256f7e4fb2494c209483c7b2490229.zip
graycode: add test for stream without sample rate
Use a smaller input stream which lacks a samplerate spec. This results in output that lacks the timing information (motion speed), but step count and direction are identical to the other existing test.
Diffstat (limited to 'decoder/test/graycode/test.conf')
-rw-r--r--decoder/test/graycode/test.conf5
1 files changed, 5 insertions, 0 deletions
diff --git a/decoder/test/graycode/test.conf b/decoder/test/graycode/test.conf
index 8a4fe51..5ba0273 100644
--- a/decoder/test/graycode/test.conf
+++ b/decoder/test/graycode/test.conf
@@ -17,3 +17,8 @@ test rotary_sin
protocol-decoder graycode channel d0=0 channel d1=1
input graycode/synthetic/rotary-sin.sr
output graycode annotation match rotary_sin.output
+
+test graycode_ramp_no_samplerate
+ protocol-decoder graycode channel d0=0 channel d1=1 channel d2=2 channel d3=3 channel d4=4 channel d5=5 channel d6=6 channel d7=7
+ input graycode/synthetic/graycode-ramp-no-samplerate.sr
+ output graycode annotation match graycode_ramp-no-samplerate.output