diff options
author | Paul Smith <psmith@gnu.org> | 2009-06-04 06:30:27 +0000 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2009-06-04 06:30:27 +0000 |
commit | 81f3e4babd128f6740d05b371122762924522fb6 (patch) | |
tree | eeb19eaf947791c834620ff72c9b80e77d9fcc8b /tests/scripts/features/targetvars | |
parent | 5b4d419476e9fbda8ea26017f6ec15956d103ed9 (diff) | |
download | gunmake-81f3e4babd128f6740d05b371122762924522fb6.tar.gz |
- Modify access of config and gnulib Savannah modules to use GIT
- Fix Savannah bug #24655.
- Fix Savannah bug #24588.
- Fix Savannah bug #24277.
- Fix Savannah bug #25697.
- Fix Savannah bug #25694.
- Fix Savannah bug #25460.
- Fix Savannah bug #26207.
- Fix Savannah bug #25712.
- Fix Savannah bug #26593.
- Fix various doc issues.
Diffstat (limited to 'tests/scripts/features/targetvars')
-rw-r--r-- | tests/scripts/features/targetvars | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/tests/scripts/features/targetvars b/tests/scripts/features/targetvars index ad0766c..3864bf8 100644 --- a/tests/scripts/features/targetvars +++ b/tests/scripts/features/targetvars @@ -219,12 +219,24 @@ rmdir('t1'); # Test appending to a simple variable containing a "$": avoid a # double-expansion. See Savannah bug #15913. -run_make_test(" -VAR := \$\$FOO +run_make_test(' +VAR := $$FOO foo: VAR += BAR -foo: ; \@echo '\$(VAR)'", +foo: ; @echo '."'".'$(VAR)'."'".' +', '', '$FOO BAR'); +# TEST #19: Override with append variables + +run_make_test(' +a: override FOO += f1 +a: FOO += f2 +a: ; @echo "$(FOO)" +', + '', "f1\n"); + +run_make_test(undef, 'FOO=C', "C f1\n"); + # TEST #19: Test define/endef variables as target-specific vars # run_make_test(' |