diff options
author | Paul Smith <psmith@gnu.org> | 2002-09-10 22:23:20 +0000 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2002-09-10 22:23:20 +0000 |
commit | bc91c0b23f27cc80dda01c7494906523754dc650 (patch) | |
tree | 1f89852be95473cb28e9e6d9e48d174984e609ae /tests/scripts/variables/automatic | |
parent | 5297a83b276f09de626d678d1fae80f5e76db08d (diff) | |
download | gunmake-bc91c0b23f27cc80dda01c7494906523754dc650.tar.gz |
A few test bug fixes:
* Never use "touch" in make rules; it breaks on most sub-second
supporting systems. Use echo "" > $@ instead.
* Forgot to close test makefiles before using them!
All the above worked fine on Linux but failed miserably on Solaris.
Diffstat (limited to 'tests/scripts/variables/automatic')
-rw-r--r-- | tests/scripts/variables/automatic | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/scripts/variables/automatic b/tests/scripts/variables/automatic index cb17efe..42e8cba 100644 --- a/tests/scripts/variables/automatic +++ b/tests/scripts/variables/automatic @@ -62,6 +62,8 @@ $(dir)/foo $(dir)/bar: $@.x $$@.x $$$@.x $$$$@.x $$(@D).x $$(@F).x $(dir)/x.z $(dir)/y.z: $(dir)/%.z : $@.% $$@.% $$$@.% $$$$@.% $$(@D).% $$(@F).% EOF +close(MAKEFILE); + &run_make_with_options($makefile2, "$dir/foo $dir/bar", &get_logfile); $answer = ".x\n$dir/foo.x\n\$.x\n\$@.x\n$dir.x\nfoo.x\n$dir/bar.x\nbar.x\n"; &compare_output($answer, &get_logfile(1)); |