From c78b7265bd1ee374a5e515d79448d0e3452b5ede Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Mon, 5 Jul 2010 18:32:03 +0000 Subject: Fixups for warnings on Windows (esp 64bit). --- tests/scripts/features/parallelism | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'tests/scripts/features') diff --git a/tests/scripts/features/parallelism b/tests/scripts/features/parallelism index 8bf24a4..cc0f84f 100644 --- a/tests/scripts/features/parallelism +++ b/tests/scripts/features/parallelism @@ -194,6 +194,28 @@ rm main.x"); rmfiles(qw(foo.y foo.y.in main.bar)); } +if ($all_tests) { + # Jobserver FD handling is messed up in some way. + # Savannah bug #28189 + # It doesn't look like that bug anymore but this is the code it runs + + run_make_test(q! +ifdef EXTRA +vpath %.dst / +xxx.dst: ; true +yyy.dst: ; true +endif + +M := $(MAKE) +xx: ; $M --no-print-directory -j2 -f $(MAKEFILE_LIST) xxx.dst yyy.dst EXTRA=1 +!, + '-j2', + '#MAKE#[1]: warning: -jN forced in submake: disabling jobserver mode. +true +true +'); +} + # Make sure that all jobserver FDs are closed if we need to re-exec the # master copy. # -- cgit v1.2.3