summaryrefslogtreecommitdiff
path: root/tests/scripts
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2000-08-21 06:18:35 +0000
committerPaul Smith <psmith@gnu.org>2000-08-21 06:18:35 +0000
commit8ddf04c6279395d29de8c4e2f853ddfcab560756 (patch)
tree39d93fc8b1c57021e8c4cadadd42c56081659c3c /tests/scripts
parent1a82956eaeb7ba5fde121755d0042c42c2043069 (diff)
downloadgunmake-8ddf04c6279395d29de8c4e2f853ddfcab560756.tar.gz
Fix PR/1831. See the ChangeLog.
Diffstat (limited to 'tests/scripts')
-rw-r--r--tests/scripts/features/targetvars6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/scripts/features/targetvars b/tests/scripts/features/targetvars
index 52548f2..a1bd88e 100644
--- a/tests/scripts/features/targetvars
+++ b/tests/scripts/features/targetvars
@@ -126,6 +126,7 @@ $answer = "foo bar\n";
# TEST #9
# For PR/1380: Using += assignment in target-specific variables sometimes fails
+# Also PR/1831
$makefile3 = &get_tmpfile;
@@ -138,18 +139,19 @@ all: one; @echo $(FOO)
FOO = bar
one: FOO += biz
+one: FOO += boz
one: ; @echo $(FOO)
EOF
close(MAKEFILE);
&run_make_with_options("$makefile3", "", &get_logfile);
-$answer = "bar baz biz\nbar baz\n";
+$answer = "bar baz biz boz\nbar baz\n";
&compare_output($answer, &get_logfile(1));
# Test #10
&run_make_with_options("$makefile3", "one", &get_logfile);
-$answer = "bar biz\n";
+$answer = "bar biz boz\n";
&compare_output($answer, &get_logfile(1));
# Test #11