From 8ddf04c6279395d29de8c4e2f853ddfcab560756 Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Mon, 21 Aug 2000 06:18:35 +0000 Subject: Fix PR/1831. See the ChangeLog. --- tests/scripts/features/targetvars | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'tests/scripts') 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 -- cgit v1.2.3