From bd2d124f275cec912d33ec1463ba66e799518340 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 6 Oct 2009 12:36:29 +0000 Subject: Fix savannah bug 25780. Optimize things a bit. --- tests/scripts/features/se_explicit | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'tests/scripts/features/se_explicit') diff --git a/tests/scripts/features/se_explicit b/tests/scripts/features/se_explicit index 1b51474..79e0a36 100644 --- a/tests/scripts/features/se_explicit +++ b/tests/scripts/features/se_explicit @@ -131,9 +131,8 @@ endef '', "#MAKE#: *** prerequisites cannot be defined in recipes. Stop.\n", 512); -if ($all_tests) { - # Automatic $$+ variable expansion issue. Savannah bug #25780 - run_make_test(q! +# Automatic $$+ variable expansion issue. Savannah bug #25780 +run_make_test(q! all : foo foo .SECONDEXPANSION: all : $$+ ; @echo '$+' @@ -141,11 +140,9 @@ foo : ; !, '', "foo foo foo foo\n"); -} -if ($all_tests) { - # Automatic $$+ variable expansion issue. Savannah bug #25780 - run_make_test(q! +# Automatic $$+ variable expansion issue. Savannah bug #25780 +run_make_test(q! all : bar bar bar : ; q%x : ; @@ -154,8 +151,6 @@ a%l: q1x $$+ q2x ; @echo '$+' !, '', "q1x bar bar q2x bar bar\n"); -} - # This tells the test driver that the perl test script executed properly. 1; -- cgit v1.2.3