Changeset 503 in kBuild for trunk/src/gmake/tests/scripts/features/se_explicit
- Timestamp:
- Sep 15, 2006 5:09:38 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gmake/tests/scripts/features/se_explicit
r282 r503 4 4 $details = ""; 5 5 6 # Test #1: automatic variables. 6 # TEST #0: Test handing of '$' in prerequisites with and without second 7 # expansion. 8 9 run_make_test(q! 10 ifdef SE 11 .SECONDEXPANSION: 12 endif 13 foo$$bar: bar$$baz bar$$biz ; @echo '$@ : $^' 14 PRE = one two 15 bar$$baz: $$(PRE) 16 baraz: $$(PRE) 17 PRE = three four 18 .DEFAULT: ; @echo '$@' 19 !, 20 '', 21 "\$\nbar\$biz\nfoo\$bar : bar\$baz bar\$biz"); 22 23 run_make_test(undef, 'SE=1', "three\nfour\nbariz\nfoo\$bar : baraz bariz"); 24 25 # TEST #1: automatic variables. 7 26 # 8 27 run_make_test(' 28 .SECONDEXPANSION: 9 29 .DEFAULT: ; @echo $@ 10 30 … … 42 62 # 43 63 run_make_test(' 64 .SECONDEXPANSION: 44 65 .DEFAULT: ; @echo $@ 45 66 … … 60 81 # 61 82 run_make_test(' 83 .SECONDEXPANSION: 62 84 .DEFAULT: ; @echo $@ 63 85
Note:
See TracChangeset
for help on using the changeset viewer.