summaryrefslogtreecommitdiff
path: root/tests/scripts/options/dash-w
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2013-09-23 11:24:51 -0400
committerPaul Smith <psmith@gnu.org>2013-09-23 11:24:51 -0400
commite8122ecb5d726e8b805a7854f844d9a4222f1564 (patch)
tree0f4e8a544727958ac83d5f2f9b74ef9941ad79ed /tests/scripts/options/dash-w
parent55a0c0e414f3f3f2fd30b5297f072b5a973d400a (diff)
downloadgunmake-e8122ecb5d726e8b805a7854f844d9a4222f1564.tar.gz
Rename dash-w to print-directory.
Avoid conflicts with dash-W on case-insensitive filesystems.
Diffstat (limited to 'tests/scripts/options/dash-w')
-rw-r--r--tests/scripts/options/dash-w33
1 files changed, 0 insertions, 33 deletions
diff --git a/tests/scripts/options/dash-w b/tests/scripts/options/dash-w
deleted file mode 100644
index a05bbee..0000000
--- a/tests/scripts/options/dash-w
+++ /dev/null
@@ -1,33 +0,0 @@
-# -*-perl-*-
-
-$description = "Test the -w option to GNU make.";
-
-# Simple test without -w
-run_make_test(q!
-all: ; @echo hi
-!,
- "", "hi\n");
-
-# Simple test with -w
-run_make_test(undef, "-w",
- "#MAKE#: Entering directory '#PWD#'\nhi\n#MAKE#: Leaving directory '#PWD#'\n");
-
-# Test makefile rebuild to ensure no enter/leave
-run_make_test(q!
-include foo
-all: ;@:
-foo: ; touch foo
-!,
- "", "#MAKEFILE#:2: foo: No such file or directory\ntouch foo\n");
-unlink('foo');
-
-# Test makefile rebuild with -w
-run_make_test(q!
-include foo
-all: ;@:
-foo: ; touch foo
-!,
- "-w", "#MAKE#: Entering directory '#PWD#'\n#MAKEFILE#:2: foo: No such file or directory\ntouch foo\n#MAKE#: Leaving directory '#PWD#'\n");
-unlink('foo');
-
-1;