summaryrefslogtreecommitdiff
path: root/tests/scripts/features/jobserver
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2013-09-22 11:28:46 -0400
committerPaul Smith <psmith@gnu.org>2013-09-22 17:10:34 -0400
commit65931ce7a9a84ddb9adb118b7558bfd1b8c3ee46 (patch)
tree2267155ce5a4ae0f8b2b6e6e67eb315e33e3cb97 /tests/scripts/features/jobserver
parent1a991ada47e0c98ddcb4b2d30b1cf14e4b6a949a (diff)
downloadgunmake-65931ce7a9a84ddb9adb118b7558bfd1b8c3ee46.tar.gz
Regression test portability to Solaris.
Diffstat (limited to 'tests/scripts/features/jobserver')
-rw-r--r--tests/scripts/features/jobserver6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/scripts/features/jobserver b/tests/scripts/features/jobserver
index 6a9565e..f2c6787 100644
--- a/tests/scripts/features/jobserver
+++ b/tests/scripts/features/jobserver
@@ -19,6 +19,8 @@ if (!$parallel_jobs) {
# get one from the original invocation and none from the re-exec.
# See Savannah bug #18124
+unlink('inc.mk');
+
run_make_test(q!
-include inc.mk
recur:
@@ -34,7 +36,7 @@ inc.mk:
!,
'--no-print-directory -j2', "#MAKE#[1]: warning: -jN forced in submake: disabling jobserver mode.\nall\n");
-rmfiles('inc.mk');
+unlink('inc.mk');
# Test recursion when make doesn't think it exists.
# See Savannah bug #39934
@@ -54,6 +56,6 @@ default: ; @ #MAKEPATH# -f Makefile2
"#MAKE#[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
#MAKE#[1]: Nothing to be done for 'foo'.");
-unlink('Makefile2');
+rmfiles('Makefile2');
1;