Skip to content

Commit

Permalink
tests: status.state should be checked against command execution status
Browse files Browse the repository at this point in the history
  • Loading branch information
snowgoer540 committed Oct 22, 2023
1 parent bb7cbb3 commit a26dab4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/matrixkins/test-ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def wait_for_linuxcnc_startup(status, timeout=10.0):
or (status.max_velocity == 0.0) \
or (status.program_units == 0.0) \
or (status.rapidrate == 0.0) \
or (status.state != linuxcnc.STATE_ESTOP) \
or (status.state != linuxcnc.RCS_DONE) \
or (status.task_state != linuxcnc.STATE_ESTOP):
time.sleep(0.1)
else:
Expand Down

0 comments on commit a26dab4

Please sign in to comment.