File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11Test that the spindle speed limits from the INI are honoured.
22Tests 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+
415Spindle.0 has limits for MAX_FORWARD, MIN_FORWARD, MAX_REVERSE and MIN_REVERSE
516Spindle.1 has no MIN_REVERSE to test that MIN_FORWARD is applied in reverse
617Spindle.2 has no MIN_REVERSE or MAX_REVERSE to test that both *_FORWARD limits are applied in reverse
You can’t perform that action at this time.
0 commit comments