summaryrefslogtreecommitdiff
path: root/decoder/test/stepper_motor/test.conf
diff options
context:
space:
mode:
Diffstat (limited to 'decoder/test/stepper_motor/test.conf')
-rw-r--r--decoder/test/stepper_motor/test.conf14
1 files changed, 14 insertions, 0 deletions
diff --git a/decoder/test/stepper_motor/test.conf b/decoder/test/stepper_motor/test.conf
new file mode 100644
index 0000000..40d4007
--- /dev/null
+++ b/decoder/test/stepper_motor/test.conf
@@ -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