diff options
author | Florian Weimer <fweimer@redhat.com> | 2020-02-10 11:28:31 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2020-02-20 08:57:01 +0100 |
commit | 7e56088050291160afcda0f85efc94d92792f84d (patch) | |
tree | 836f70b2b1e07a05f243c5a8748b1abb39e53dee | |
parent | 27d83441a2f900059d0421339d0e8c27220ffa36 (diff) | |
download | glibc-7e56088050291160afcda0f85efc94d92792f84d.tar.gz glibc-7e56088050291160afcda0f85efc94d92792f84d.tar.xz glibc-7e56088050291160afcda0f85efc94d92792f84d.zip |
nptl: Use .NOTPARALLEL in Makefile only if actually running tests
It is safe to build the tests in parallel. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
-rw-r--r-- | nptl/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/nptl/Makefile b/nptl/Makefile index 2911a3de37..e4250fd522 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 |