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/features/order_only | |
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/features/order_only')
-rw-r--r-- | tests/scripts/features/order_only | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/scripts/features/order_only b/tests/scripts/features/order_only index ac0d538..82a7253 100644 --- a/tests/scripts/features/order_only +++ b/tests/scripts/features/order_only @@ -144,4 +144,15 @@ $answer = "touch baz\n"; unlink(qw(foo.w foo.x baz)); +# TEST #9 -- make sure that $< is set correctly in the face of order-only +# prerequisites in pattern rules. + +run_make_test(' +%r: | baz ; @echo $< $^ $| +bar: foo +foo:;@: +baz:;@: +', '', "foo foo baz\n"); + + 1; |