Sophie

Sophie

distrib > Mageia > 5 > x86_64 > by-pkgid > 004fd25eb1d89e31fc9cddb571328f7f > files > 48

glibc-2.20-21.mga5.src.rpm

2006-07-26  Gwenole Beauchesne  <gbeauchesne@mandriva.com>

* rt/Makefile (tests): Don't run tests in parallel on fine-grained
  SMT systems.

[ rebased for 2.18 / tmb ]
Signed-off-by: Thomas Backlund <tmb@mageia.org>

--- glibc-2.18/rt/Makefile.orig	2013-08-17 18:13:30.052788930 +0300
+++ glibc-2.18/rt/Makefile	2013-08-17 18:16:06.747052210 +0300
@@ -73,3 +73,13 @@ $(addprefix $(objpfx),$(tests)): $(objpf
 endif
 
 tst-mqueue7-ARGS = -- $(host-test-program-cmd)
+
+# XXX avoid timing issues on fine-grained SMT systems
+ifeq (powerpc, $(base-machine))
+no-parallel-testing = yes
+endif
+ifneq ($(filter %tests,$(MAKECMDGOALS)),)
+ifeq ($(no-parallel-testing),yes)
+.NOTPARALLEL:
+endif
+endif