mirror of
git://sourceware.org/git/glibc.git
synced 2026-09-08 23:58:31 +08:00
The default 'make check' serializes the timing-sensitive test runs: the threading (nptl, or htl on Hurd) and realtime (rt) subdirectories run with .NOTPARALLEL and are ordered after the rest of the test run, so they are not perturbed by competing machine load. Add a check-parallel (and xcheck-parallel) variant for when that is not wanted -- an idle machine, or a run where the extra throughput is worth the risk of flakiness in the timing-sensitive tests (check the libc-alpha discussion [1] for more context why this approach was proposed). A new serialize-tests flag (default yes, defined in Makeconfig) gates both the per-subdirectory .NOTPARALLEL and the top-level run-time ordering; check-parallel just runs the suite with serialize-tests=no, so every test program builds and runs at full concurrency in a single pass. 'make check' and its default behavior are unchanged. [1] https://inbox.sourceware.org/libc-alpha/lhutsr3khz7.fsf@oldenburg.str.redhat.com/ Reviewed-by: Sam James <sam@gentoo.org>