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