Sophie

Sophie

distrib > Mageia > 5 > x86_64 > media > core-release-src > by-pkgid > a4a0d1c8399898809d0c2e3f4ac34ae9 > files > 40

glibc-2.20-20.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