test: Add quad_gantry_level and z_tilt_adjust test cases

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2019-06-12 13:49:27 -04:00
parent 82b58e46a7
commit c037d273f7
3 changed files with 168 additions and 0 deletions

26
test/klippy/z_tilt.test Normal file
View file

@ -0,0 +1,26 @@
# Test case for z_tilt and quad_gantry_level
CONFIG z_tilt.cfg
DICTIONARY atmega2560.dict
# Start by homing the printer.
G28
G1 Z5 X10 Y10 F6000
GET_POSITION
# Run Z_TILT_ADJUST in manual mode
Z_TILT_ADJUST METHOD=MANUAL
G1 Z2.909972
ACCEPT
G1 Z2.924972
ACCEPT
G1 Z2.959972
ACCEPT
G1 Z2.924972
ACCEPT
# Report position
G1 Z5 X10 Y10 F6000
GET_POSITION
# Run again in automatic mode
Z_TILT_ADJUST