public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/fw/libpthread-removal-easy] nptl: Use .NOTPARALLEL in Makefile only if actually running tests
@ 2020-02-11  7:28 Florian Weimer
  0 siblings, 0 replies; only message in thread
From: Florian Weimer @ 2020-02-11  7:28 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=0c93537c530c6f86de32a16c4491cc9f542f65c9

commit 0c93537c530c6f86de32a16c4491cc9f542f65c9
Author: Florian Weimer <fweimer@redhat.com>
Date:   Mon Feb 10 11:28:31 2020 +0100

    nptl: Use .NOTPARALLEL in Makefile only if actually running tests
    
    It is safe to build the tests in parallel.

Diff:
---
 nptl/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/nptl/Makefile b/nptl/Makefile
index ce7a4a7..9a51922 100644
--- a/nptl/Makefile
+++ b/nptl/Makefile
@@ -709,7 +709,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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-02-11  7:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-11  7:28 [glibc/fw/libpthread-removal-easy] nptl: Use .NOTPARALLEL in Makefile only if actually running tests Florian Weimer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).