diff options
author | Paul Smith <psmith@gnu.org> | 2009-09-24 20:59:22 +0000 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2009-09-24 20:59:22 +0000 |
commit | d65b267e4a52a23911365424c37283c899d381c7 (patch) | |
tree | 31407ff5eb81625dd09d455bdddea54e1806c0d6 /tests | |
parent | 0afbbf8595b6035a5a930399d20320d2e2852d72 (diff) | |
download | gunmake-d65b267e4a52a23911365424c37283c899d381c7.tar.gz |
- Fix broken handling of order-only prereqs in secondary expansion
of implicit rules.
- Fix leaked memory when dealing with implicit rule chains that
have file variables or pattern variables.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ChangeLog | 7 | ||||
-rw-r--r-- | tests/scripts/features/se_implicit | 11 |
2 files changed, 17 insertions, 1 deletions
diff --git a/tests/ChangeLog b/tests/ChangeLog index f1c6695..c56e09a 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,4 +1,9 @@ -2009-09-23 Paul <psmith@gnu.org> +2009-09-24 Paul Smith <psmith@gnu.org> + + * scripts/features/se_implicit: Add a test for order-only + secondary expansion prerequisites. + +2009-09-23 Paul Smith <psmith@gnu.org> * scripts/features/patternrules: Test that we can remove pattern rules, both single and multiple prerequisites. Savannah bug #18622. diff --git a/tests/scripts/features/se_implicit b/tests/scripts/features/se_implicit index 6db0031..e9acb2f 100644 --- a/tests/scripts/features/se_implicit +++ b/tests/scripts/features/se_implicit @@ -210,6 +210,17 @@ oo$ba.1 oo$ba '); +# Test #9: Check the value of $^ +run_make_test(q! +.SECONDEXPANSION: + +%.so: | $$(extra) ; @echo $^ + +foo.so: extra := foo.o +foo.so: +foo.o: +!, + '', "\n"); # This tells the test driver that the perl test script executed properly. 1; |