summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2001-05-21 06:16:00 +0000
committerPaul Smith <psmith@gnu.org>2001-05-21 06:16:00 +0000
commit5d582d4ba06495a95854c45828399f7edfe51a50 (patch)
tree55e521f4b74f6903878a5563095387685f0e4b78 /tests
parent8f2b1e2c7c1ced20354dcbcd08942256cf0dade0 (diff)
downloadgunmake-5d582d4ba06495a95854c45828399f7edfe51a50.tar.gz
Some VMS fixes sent by John Fowler.
Fix: make flags on some lines of define/endef don't affect other lines
Diffstat (limited to 'tests')
-rw-r--r--tests/ChangeLog5
-rw-r--r--tests/scripts/variables/flavors4
2 files changed, 7 insertions, 2 deletions
diff --git a/tests/ChangeLog b/tests/ChangeLog
index 2a19bcb..a692f43 100644
--- a/tests/ChangeLog
+++ b/tests/ChangeLog
@@ -1,3 +1,8 @@
+2001-05-02 Paul D. Smith <psmith@gnu.org>
+
+ * scripts/variables/flavors: Test define/endef scripts where only
+ one of the command lines is quiet.
+
2000-06-22 Paul D. Smith <psmith@gnu.org>
* scripts/options/dash-q: New file; test the -q option. Includes
diff --git a/tests/scripts/variables/flavors b/tests/scripts/variables/flavors
index 7642636..02dca0b 100644
--- a/tests/scripts/variables/flavors
+++ b/tests/scripts/variables/flavors
@@ -28,7 +28,7 @@ next: ; @echo $x$(space)$y
define multi
@echo hi
-@echo there
+echo there
endef
ifdef BOGUS
@@ -47,7 +47,7 @@ close(MAKEFILE);
# -------
&run_make_with_options($makefile, "", &get_logfile);
-$answer = "hi\nthere\nHello\n";
+$answer = "hi\necho there\nthere\nHello\n";
&compare_output($answer, &get_logfile(1));
# TEST #2