aboutsummaryrefslogtreecommitdiffstats
path: root/test/klippy/bed_screws.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/klippy/bed_screws.test')
-rw-r--r--test/klippy/bed_screws.test49
1 files changed, 49 insertions, 0 deletions
diff --git a/test/klippy/bed_screws.test b/test/klippy/bed_screws.test
new file mode 100644
index 00000000..53fa2cb1
--- /dev/null
+++ b/test/klippy/bed_screws.test
@@ -0,0 +1,49 @@
+# Test case for bed screws helper tool
+CONFIG bed_screws.cfg
+DICTIONARY atmega2560-16mhz.dict
+
+# Start helper script and then abort it
+G28
+BED_SCREWS_ADJUST
+
+ACCEPT
+ACCEPT
+ABORT
+
+# Start helper script and run until success
+BED_SCREWS_ADJUST
+
+ACCEPT
+ACCEPT
+ACCEPT
+
+ACCEPT
+ACCEPT
+ACCEPT
+
+# Start helper script and run with two readjusts
+BED_SCREWS_ADJUST
+
+ACCEPT
+ADJUSTED
+ACCEPT
+
+ACCEPT
+ACCEPT
+ACCEPT
+
+ADJUSTED
+ACCEPT
+ACCEPT
+
+ACCEPT
+ACCEPT
+ACCEPT
+
+ACCEPT
+ACCEPT
+ACCEPT
+
+# Start helper script and run with two readjusts
+BED_SCREWS_ADJUST
+ABORT