diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2018-07-03 12:34:33 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2018-07-03 12:34:33 -0400 |
commit | 80bcafda77529fea2f99b606f053a7ff49dc4416 (patch) | |
tree | cc957dc82a7916b65edd598d57d0e38fae9ddf9b /test | |
parent | b91b0f24db7e715190e67b36855d2934be02ff4a (diff) | |
download | kutter-80bcafda77529fea2f99b606f053a7ff49dc4416.tar.gz kutter-80bcafda77529fea2f99b606f053a7ff49dc4416.tar.xz kutter-80bcafda77529fea2f99b606f053a7ff49dc4416.zip |
test: Add a test case for common g-code configuration and status commands
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'test')
-rw-r--r-- | test/klippy/commands.test | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/test/klippy/commands.test b/test/klippy/commands.test new file mode 100644 index 00000000..c49a0095 --- /dev/null +++ b/test/klippy/commands.test @@ -0,0 +1,25 @@ +# Tests for miscellaneous g-code commands +DICTIONARY atmega2560-16mhz.dict +CONFIG ../../config/example.cfg + +# Simple status commands +GET_POSITION + +STATUS + +HELP + +QUERY_ENDSTOPS + +# Restart command +RESTART + +# Update commands +SET_GCODE_OFFSET Z=.1 +SET_GCODE_OFFSET Z_ADJUST=-.1 + +SET_VELOCITY_LIMIT ACCEL=100 VELOCITY=20 JUNCTION_DEVIATION=.001 ACCEL_TO_DECEL=200 +M204 S500 + +SET_PRESSURE_ADVANCE EXTRUDER=extruder ADVANCE=.001 +SET_PRESSURE_ADVANCE ADVANCE=.002 ADVANCE_LOOKAHEAD_TIME=.001 |