Skip to content

runtests: Add parallel mode (CI tests) - #4665

Draft
hdiethelm wants to merge 10 commits into
LinuxCNC:masterfrom
hdiethelm:tests_parallel_v2_ci
Draft

hdiethelm wants to merge 10 commits into
LinuxCNC:masterfrom
hdiethelm:tests_parallel_v2_ci

Conversation

@hdiethelm

Copy link
Copy Markdown
Contributor

Disregard this PR for now, it is preparation to run the parallel tests in CI.

This allows to run tests in parallel using bwarp for isolation of the
linuxcnc processes
Setting RTAPI_CPU_NUMBER=-1 disables the CPU assignment for the
realtime threads. If this is not done, all rtapi_app processes run on
one CPU, slowing down the tests.
This solves an issue with po4a that does not translates all the
documents.

However, some build jobs fail now and will be fixed in the following
commits.
clang needs -latomic: See https://en.cppreference.com/cpp/atomic/atomic

Quote: On GCC and Clang, some of the functionality described here requires
linking against -latomic.
@hdiethelm
hdiethelm force-pushed the tests_parallel_v2_ci branch from 6d3907d to 3a54cfe Compare October 18, 2026 08:51
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.

1 participant