Skip to content

Commit 8dffc77

Browse files
authored
Update README
1 parent e904eeb commit 8dffc77

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

tests/spindle_limits/README

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
11
Test that the spindle speed limits from the INI are honoured.
22
Tests three spindles, to ensure that multi-spindle is supported
33

4+
The test starts from the test.sh script which loads linuxcnc, passing it an almost-standard INI file.
5+
In place of the normal GUI the INI file loads test-ui.py which does not create any GUI elements.
6+
7+
test-ui.py puts LinuxCNC in a condition where is can respond to MDI commands, and then proceeds to use
8+
both MDI and the Python command interface to set various spindle speeds and check that the HAL and status
9+
outputs are within the specified limits.
10+
11+
The test-ui script then exits, and at that point the runtests script automatically runs "checkresult".
12+
"checkresult" is needed to skip automatic testing of "expected" againsts "result" which wouldn't
13+
work fot this test.
14+
415
Spindle.0 has limits for MAX_FORWARD, MIN_FORWARD, MAX_REVERSE and MIN_REVERSE
516
Spindle.1 has no MIN_REVERSE to test that MIN_FORWARD is applied in reverse
617
Spindle.2 has no MIN_REVERSE or MAX_REVERSE to test that both *_FORWARD limits are applied in reverse

0 commit comments

Comments
 (0)