]> sigrok.org Git - sigrok-test.git/blobdiff - decoder/test/stepper_motor/test.conf
stepper_motor: Add a few test-cases.
[sigrok-test.git] / decoder / test / stepper_motor / test.conf
diff --git a/decoder/test/stepper_motor/test.conf b/decoder/test/stepper_motor/test.conf
new file mode 100644 (file)
index 0000000..40d4007
--- /dev/null
@@ -0,0 +1,14 @@
+test smoothieware_snippet_mm
+       protocol-decoder stepper_motor channel step=5 channel dir=6 option unit=mm
+       input stepper_motor/smoothieware/smoothieware_snippet.sr
+       output stepper_motor annotation match smoothieware_snippet_mm.output
+
+test smoothieware_snippet_steps
+       protocol-decoder stepper_motor channel step=5 channel dir=6 option unit=steps
+       input stepper_motor/smoothieware/smoothieware_snippet.sr
+       output stepper_motor annotation match smoothieware_snippet_steps.output
+
+test exception_samplerate
+       protocol-decoder stepper_motor
+       input misc/no-samplerate.sr
+       output stepper_motor exception match SamplerateError