simpockets.tbl in tests

More
2 years 1 month ago #310157 by zz912
Hello,

If I run:
Code:
linuxcnc /home/zdenek/linuxcnc/linuxcnc-2.9/tests/toolchanger/toolno-pocket-differ/random/sim.ini

It return:
Code:
emc/tooldata/tooldata_common.cc, 304: Failed to open tool table file 'simpockets.tbl': No such file or directory

So I looked into:
github.com/LinuxCNC/linuxcnc/blob/53fce3...r/random/sim.ini#L41

There is not "../" or "./"
Is it OK?
Is it bug?

I am not experts for automatic tests. I dont know which simpockets.tbl is correct. Or right simpockets.tbl is created automatically?

Please Log in to join the conversation.

More
2 years 1 month ago #310184 by Aciera
Replied by Aciera on topic simpockets.tbl in tests
This is from 'tests/README':
Code:
. . . Running the tests ~~~~~~~~~~~~~~~~~ Currently, tests only work with the "run in place" configuration. They can be run by executing (from the top emc2 directory) scripts/runtests tests A subset of the tests can also be run: scripts/runtests tests/xyz tests/a* . . .

So it seems that to run a particular test you need to:

1. Have a RIP installation
2. navigate to the installation directory of your RIP installation
3. run your test with:
Code:
'scripts/runtests tests/toolchanger/toolno-pocket-differ/random/'

Please Log in to join the conversation.

More
2 years 1 month ago #310215 by zz912
Replied by zz912 on topic simpockets.tbl in tests
Thank you.
Code:
zdenek@cnc:~/linuxcnc/linuxcnc-Gmoccapy-remap_M6_G43$ scripts/runtests tests/toolchanger/toolno-pocket-differ/random/ Running test: tests/toolchanger/toolno-pocket-differ/random Runtest: 1 tests run, 1 successful, 0 failed + 0 expected, 0 skipped  

Code:
zdenek@cnc:~/linuxcnc/linuxcnc-Gmoccapy-remap_M6_G43$ scripts/runtests tests/single-step Running test: tests/single-step Runtest: 1 tests run, 1 successful, 0 failed + 0 expected, 0 skipped


I dont know, why it is not working here:
github.com/LinuxCNC/linuxcnc/actions/run.../30146714882?pr=3113

Please Log in to join the conversation.

More
2 years 1 month ago #310234 by Aciera
Replied by Aciera on topic simpockets.tbl in tests
I think the 'single-step' test may have a problem with race condition which means that it may well pass if run again but I have not found a way to rerun tests on my pull requests on github.

Please Log in to join the conversation.

More
2 years 1 month ago #310247 by zz912
Replied by zz912 on topic simpockets.tbl in tests

.. but I have not found a way to rerun tests on my pull requests on github.
 
How to solve it?

Please Log in to join the conversation.

More
2 years 1 month ago #310273 by Aciera
Replied by Aciera on topic simpockets.tbl in tests
There isn't really anything you can do.
I guess you'll just have to wait for your PR to catch the attention of somebody with the required github privileges.

Please Log in to join the conversation.

Time to create page: 0.123 seconds
Powered by Kunena Forum