summaryrefslogtreecommitdiff
path: root/tests/scripts/features
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@kolpackov.net>2009-10-06 12:36:29 +0000
committerBoris Kolpackov <boris@kolpackov.net>2009-10-06 12:36:29 +0000
commitbd2d124f275cec912d33ec1463ba66e799518340 (patch)
tree001ad6cbe5778e036c188bc67008efa2bf182af5 /tests/scripts/features
parent4254e88cfa7704ea4a55d94a9aee5b19b081b3db (diff)
downloadgunmake-bd2d124f275cec912d33ec1463ba66e799518340.tar.gz
Fix savannah bug 25780. Optimize things a bit.
Diffstat (limited to 'tests/scripts/features')
-rw-r--r--tests/scripts/features/se_explicit13
1 files changed, 4 insertions, 9 deletions
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;