test: Add a test case for common g-code configuration and status commands

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2018-07-03 12:34:33 -04:00
parent b91b0f24db
commit 80bcafda77
1 changed files with 25 additions and 0 deletions

25
test/klippy/commands.test Normal file
View File

@ -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