simpockets.tbl in tests
- zz912
-
Topic Author
- Offline
- Platinum Member
-
Less
More
- Posts: 535
- Thank you received: 85
14 Sep 2024 17:42 #310157
by zz912
simpockets.tbl in tests was created by zz912
Hello,
If I run:
It return:
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?
If I run:
linuxcnc /home/zdenek/linuxcnc/linuxcnc-2.9/tests/toolchanger/toolno-pocket-differ/random/sim.ini
It return:
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 or Create an account to join the conversation.
- Aciera
-
- Offline
- Administrator
-
Less
More
- Posts: 4286
- Thank you received: 1899
15 Sep 2024 08:39 - 15 Sep 2024 08:42 #310184
by Aciera
Replied by Aciera on topic simpockets.tbl in tests
This is from 'tests/README':
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:
.
.
.
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:
'scripts/runtests tests/toolchanger/toolno-pocket-differ/random/'
Last edit: 15 Sep 2024 08:42 by Aciera.
The following user(s) said Thank You: zz912
Please Log in or Create an account to join the conversation.
- zz912
-
Topic Author
- Offline
- Platinum Member
-
Less
More
- Posts: 535
- Thank you received: 85
15 Sep 2024 18:48 #310215
by zz912
Replied by zz912 on topic simpockets.tbl in tests
Thank you.
I dont know, why it is not working here:
github.com/LinuxCNC/linuxcnc/actions/run.../30146714882?pr=3113
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
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
Attachments:
Please Log in or Create an account to join the conversation.
- Aciera
-
- Offline
- Administrator
-
Less
More
- Posts: 4286
- Thank you received: 1899
16 Sep 2024 07:04 #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.
The following user(s) said Thank You: zz912
Please Log in or Create an account to join the conversation.
- zz912
-
Topic Author
- Offline
- Platinum Member
-
Less
More
- Posts: 535
- Thank you received: 85
16 Sep 2024 10:31 #310247
by zz912
Replied by zz912 on topic simpockets.tbl in tests
How to solve it?.. but I have not found a way to rerun tests on my pull requests on github.
Please Log in or Create an account to join the conversation.
- Aciera
-
- Offline
- Administrator
-
Less
More
- Posts: 4286
- Thank you received: 1899
16 Sep 2024 17:05 #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.
I guess you'll just have to wait for your PR to catch the attention of somebody with the required github privileges.
The following user(s) said Thank You: zz912
Please Log in or Create an account to join the conversation.
Time to create page: 0.053 seconds