HomePhabricator

[CMAKE] Allow to run boost unit tests in parallel

Description

[CMAKE] Allow to run boost unit tests in parallel

Summary:
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.

Test Plan:

cmake -GNinja ..
ninja check-all

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Differential Revision: https://reviews.bitcoinabc.org/D4698

Details

Provenance
FabienAuthored on Dec 13 2019, 14:54
FabienPushed on Dec 18 2019, 09:30
Reviewer
Restricted Project
Differential Revision
D4698: [CMAKE] Allow to run boost unit tests in parallel
Parents
rABCc6ab5bc3eb03: Static assert with no message is a C++17 feature and warns on C++14
Branches
Unknown
Tags
Unknown