Skip to content

Made tests/motion/g0 more robust and got rid of race condition#1859

Merged
c-morley merged 1 commit intoLinuxCNC:masterfrom
petterreinholdtsen:test-g0-robustness
Jul 28, 2022
Merged

Made tests/motion/g0 more robust and got rid of race condition#1859
c-morley merged 1 commit intoLinuxCNC:masterfrom
petterreinholdtsen:test-g0-robustness

Conversation

@petterreinholdtsen
Copy link
Copy Markdown
Collaborator

@petterreinholdtsen petterreinholdtsen commented Jul 21, 2022

Adjusted test.sh to make sure halsampler run until all instructions are sent
via port 5007 to linuxcncrsh. Now wait for explicite process IDs of halsampler
and linuxcnc to make sure neither terminated before test is over. Added more
checks in checkresults, and made sure it give more sensible error messages
if no acceleration is detected (instead of raising out of bound exceptions.
Replaced random sleep periods with code to wait for pins to signal startup,
homing and move is completed.

@petterreinholdtsen petterreinholdtsen force-pushed the test-g0-robustness branch 2 times, most recently from d5418f7 to de50593 Compare July 22, 2022 08:57
Adjusted test.sh to make sure halsampler run until all instructions are sent
via port 5007 to linuxcncrsh.  Now wait for explicite process IDs of halsampler
and linuxcnc to make sure neither terminated before test is over.  Added more
checks in checkresults, and made sure it give more sensible error messages
if no acceleration is detected (instead of raising out of bound exceptions.
Replaced random sleep periods with code to wait for pins to signal startup,
homing and move is completed.
@petterreinholdtsen petterreinholdtsen changed the title Made tests/motion/g0 more robust Made tests/motion/g0 more robust and got rid of race condition Jul 23, 2022
@c-morley c-morley merged commit dc622fd into LinuxCNC:master Jul 28, 2022
@petterreinholdtsen petterreinholdtsen deleted the test-g0-robustness branch August 10, 2022 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants