summaryrefslogtreecommitdiff
path: root/tests/scripts/features/parallelism
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2010-07-05 18:32:03 +0000
committerPaul Smith <psmith@gnu.org>2010-07-05 18:32:03 +0000
commitc78b7265bd1ee374a5e515d79448d0e3452b5ede (patch)
tree7b46185bfca8c3d2ac28780e359c15c648655bce /tests/scripts/features/parallelism
parentfc644b4c450fee27683cfb73e85488a643de6fa7 (diff)
downloadgunmake-c78b7265bd1ee374a5e515d79448d0e3452b5ede.tar.gz
Fixups for warnings on Windows (esp 64bit).
Diffstat (limited to 'tests/scripts/features/parallelism')
-rw-r--r--tests/scripts/features/parallelism22
1 files changed, 22 insertions, 0 deletions
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.
#