diff options
author | ru <ru@FreeBSD.org> | 2002-11-28 13:21:32 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2002-11-28 13:21:32 +0000 |
commit | c474b1700bf49da3a0547acd6340c16ac04051d9 (patch) | |
tree | b6b86e70baad377ab1839a906c3dd077ddb396dd /tools/regression | |
parent | a227a02ef4111c3ec07694eb87a6d6511ff3a77d (diff) | |
download | FreeBSD-src-c474b1700bf49da3a0547acd6340c16ac04051d9.zip FreeBSD-src-c474b1700bf49da3a0547acd6340c16ac04051d9.tar.gz |
Add a test for what was fixed in revisions 1.39 and 1.50 of
make/parse.c (allow embedded `:' and `!' in target names).
Approved by: re
Diffstat (limited to 'tools/regression')
-rw-r--r-- | tools/regression/usr.bin/make/Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/regression/usr.bin/make/Makefile b/tools/regression/usr.bin/make/Makefile index f4dec2e..760433b 100644 --- a/tools/regression/usr.bin/make/Makefile +++ b/tools/regression/usr.bin/make/Makefile @@ -38,6 +38,9 @@ all: @echo "Running test modifiers" @${MAKE} modifiers || ${MAKE} failure @echo "PASS: Test modifiers detected no regression." + @echo "Running test funny_targets" + @${MAKE} funny_targets || ${MAKE} failure + @echo "PASS: Test funny_targets detected no regression." .if make(double) # Doubly-defined targets. make(1) will warn, but use the "right" one. If it @@ -81,6 +84,12 @@ modifiers: fi .endif +.if make(funny_targets) +funny_targets: colons::target exclamation!target +colons::target: +exclamation!target: +.endif + failure: @echo "FAIL: Test failed: regression detected. See above." @false |