diff options
author | Boris Kolpackov <boris@kolpackov.net> | 2005-03-03 17:39:48 +0000 |
---|---|---|
committer | Boris Kolpackov <boris@kolpackov.net> | 2005-03-03 17:39:48 +0000 |
commit | cb2f20026908d5c6e48e2cd3e3e65b5f67498d02 (patch) | |
tree | 82f2bd2fa0de34d8cbd8abf62a7827b0879dd5b6 /tests/scripts/features/se_implicit | |
parent | 0759af440a1d721f0248b2ea83fe0ad8a1c19cfb (diff) | |
download | gunmake-cb2f20026908d5c6e48e2cd3e3e65b5f67498d02.tar.gz |
Fixed stem termination and stem triple-expansion bugs.
Diffstat (limited to 'tests/scripts/features/se_implicit')
-rw-r--r-- | tests/scripts/features/se_implicit | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/tests/scripts/features/se_implicit b/tests/scripts/features/se_implicit index b6b726c..0c38c17 100644 --- a/tests/scripts/features/se_implicit +++ b/tests/scripts/features/se_implicit @@ -183,6 +183,42 @@ foo.c: ; @echo $@ foo.o: {foo.c} foo.c '); +# Test #7: Test stem from the middle of the name. +# +run_make_test(' +foobarbaz: + +foo%baz: % $$*.1 + @echo $* + +bar bar.1: + @echo $@ + +', +'', +'bar +bar.1 +bar +'); + +# Test #8: Make sure stem triple-expansion does not happen. +# +run_make_test(' +foo$$bar: + +f%r: % $$*.1 + @echo \'$*\' + +oo$$ba oo$$ba.1: + @echo \'$@\' + +', +'', +'oo$ba +oo$ba.1 +oo$ba +'); + # This tells the test driver that the perl test script executed properly. 1; |