diff options
author | Paul Smith <psmith@gnu.org> | 2004-05-16 19:16:52 +0000 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2004-05-16 19:16:52 +0000 |
commit | 08c8105c5468ff743d2f2ff2fdf3b77a6313b53e (patch) | |
tree | 51954f0469a6d70c1b58fd30a5955aa5e4b65c86 /tests/scripts/variables | |
parent | e334942e573ea8a4416eca0afafcaf45c3bba06f (diff) | |
download | gunmake-08c8105c5468ff743d2f2ff2fdf3b77a6313b53e.tar.gz |
Various enhancements
- OS/2 Patches
- OpenVMS updates
- Sanitize the handling of -include/sinclude with and without -k
- Fix the setting of $< for order-only rules.
Diffstat (limited to 'tests/scripts/variables')
-rw-r--r-- | tests/scripts/variables/special | 22 |
1 files changed, 4 insertions, 18 deletions
diff --git a/tests/scripts/variables/special b/tests/scripts/variables/special index 58c8655..77b355c 100644 --- a/tests/scripts/variables/special +++ b/tests/scripts/variables/special @@ -4,12 +4,7 @@ $description = "Test special GNU make variables."; $details = ""; -$makefile2 = &get_tmpfile; - - -open(MAKEFILE, "> $makefile"); - -print MAKEFILE <<'EOF'; +&run_make_test(' X1 := $(sort $(filter FOO BAR,$(.VARIABLES))) @@ -23,21 +18,12 @@ all: @echo X1 = $(X1) @echo X2 = $(X2) @echo LAST = $(sort $(filter FOO BAR,$(.VARIABLES))) - -EOF - -close(MAKEFILE); - -# TEST #1 -# ------- - -&run_make_with_options($makefile, "", &get_logfile); -$answer = "X1 =\nX2 = FOO\nLAST = BAR FOO\n"; -&compare_output($answer, &get_logfile(1)); - +', + '', "X1 =\nX2 = FOO\nLAST = BAR FOO\n"); +# $makefile2 = &get_tmpfile; # open(MAKEFILE, "> $makefile2"); # print MAKEFILE <<'EOF'; |