Skip to content

Commit

Permalink
Add test for relative extrusion resume kliment#1083
Browse files Browse the repository at this point in the history
The test fails due to thread join unrelated to kliment#1083
This is fixed with next commit, then fails for missing M83 command,
which is fixed with another commit
  • Loading branch information
volconst committed Jul 31, 2020
1 parent 0c39c4f commit ac7f959
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions testfiles/pause-restore-rel-e.gcode
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
; test restoring of relative extrusion mode
; after pause https://github.com/kliment/Printrun/issues/1083
G28
G90 ; abs all, including E
M83 ; relative E
;@!print('Please press Resume and check for M 83')
;@!self.p.loud = True
;@pause
;@!self.p.loud = False
;@!threading.Timer(2, lambda logbox: print('PASSED. Seen M 83' if 'M' + '83' in logbox.Value else 'FAILED: M 83 not seen'), (self.logbox,)).start()

0 comments on commit ac7f959

Please sign in to comment.