This is inspired from the autotools equivalent, ported in D3535.
The idea is to run each test in it's own process by passing it to the
boost test filter. Then it relies on ninja to run them in parallel.
This implies the removal of ctest.
Differential D4698
[CMAKE] Allow to run boost unit tests in parallel Fabien on Dec 11 2019, 16:52. Authored by Tags None Subscribers None
Details
This is inspired from the autotools equivalent, ported in D3535. This implies the removal of ctest. cmake -GNinja .. ninja check-all
Diff Detail
Event TimelineComment Actions That is not a good solution if you need to specify the parallelism level for the test. ninja already does job scheduling. Comment Actions No, it stops on first failure (minus the already started jobs). It has the same behavior than autotools. Comment Actions Reference the template from the module file rather than project to |