Changeset 3138 in kBuild for vendor/gnumake/current/tests/scripts/features/se_explicit
- Timestamp:
- Mar 12, 2018 7:32:29 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vendor/gnumake/current/tests/scripts/features/se_explicit
r2596 r3138 6 6 # TEST #0: Test handing of '$' in prerequisites with and without second 7 7 # expansion. 8 9 # If we don't support archives then the prerequisite is different 10 my $prereq = exists $FEATURES{'archives'} ? '$' : '$(PRE)'; 8 11 9 12 run_make_test(q! … … 19 22 !, 20 23 '', 21 " \$\nbar\$biz\nfoo\$bar : bar\$baz bar\$biz");24 "$prereq\nbar\$biz\nfoo\$bar : bar\$baz bar\$biz"); 22 25 23 26 run_make_test(undef, 'SE=1', "three\nfour\nbariz\nfoo\$bar : baraz bariz"); … … 116 119 all : $$(eval $$(info test)) 117 120 !, 118 '', "test\n#MAKE#: Nothing to be done for `all'.\n");121 '', "test\n#MAKE#: Nothing to be done for 'all'.\n"); 119 122 120 123 # TEST #5: (NEGATIVE) catch eval in a prereq list trying to create new … … 153 156 154 157 155 # This tells the test driver that the perl test script executed properly. 158 # Allow patsubst shorthand in second expansion context. 159 # Requires the colon to be quoted. Savannah bug #16545 160 run_make_test(q! 161 .PHONY: foo.bar 162 .SECONDEXPANSION: 163 foo: $$(@\\:%=%.bar); @echo '$^' 164 !, 165 '', "foo.bar\n"); 166 156 167 1;
Note:
See TracChangeset
for help on using the changeset viewer.

