This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH 01/13] nptl: Use .NOTPARALLEL in Makefile only if actually running tests
- From: Florian Weimer <fweimer at redhat dot com>
- To: libc-alpha at sourceware dot org
- Date: Tue, 11 Feb 2020 12:06:01 +0100
- Subject: [PATCH 01/13] nptl: Use .NOTPARALLEL in Makefile only if actually running tests
- References: <cover.1581418947.git.fweimer@redhat.com>
It is safe to build the tests in parallel.
---
nptl/Makefile | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/nptl/Makefile b/nptl/Makefile
index 6f210d60e3..40f27ea7cd 100644
--- a/nptl/Makefile
+++ b/nptl/Makefile
@@ -693,7 +693,9 @@ tst-audit-threads-ENV = LD_AUDIT=$(objpfx)tst-audit-threads-mod1.so
CFLAGS-tst-unwind-thread.c += -funwind-tables
-# The tests here better do not run in parallel
+# The tests here better do not run in parallel.
+ifeq ($(run-built-tests),yes)
ifneq ($(filter %tests,$(MAKECMDGOALS)),)
.NOTPARALLEL:
endif
+endif
--
2.24.1