Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-3]: src/usr.bin/make/unit-tests Pull up revision 1.2 (requested b...



details:   https://anonhg.NetBSD.org/src/rev/c4bb460468b3
branches:  netbsd-3
changeset: 576396:c4bb460468b3
user:      tron <tron%NetBSD.org@localhost>
date:      Sat Jul 02 16:23:22 2005 +0000

description:
Pull up revision 1.2 (requested by rpaulo in ticket #491):
Add a new test case to reflect the problem found on PR toolchain/30536.
Reviewed by sjg and hubertf.

diffstat:

 usr.bin/make/unit-tests/comment |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (26 lines):

diff -r afed09edc6aa -r c4bb460468b3 usr.bin/make/unit-tests/comment
--- a/usr.bin/make/unit-tests/comment   Sat Jul 02 16:23:07 2005 +0000
+++ b/usr.bin/make/unit-tests/comment   Sat Jul 02 16:23:22 2005 +0000
@@ -6,6 +6,9 @@
 #\
        Multiline comment
 
+BAR=# defined
+FOOBAR= # defined 
+
 # This is an escaped comment \
 that keeps going until the end of this line
 
@@ -15,9 +18,11 @@
 on
 
 # This is NOT an escaped comment due to the double backslashes \\
-all: foo
+all: foo bar
        @echo comment testing done
 
 foo:
        @echo this is $@
 
+bar:
+       @echo This is how a comment looks: '# comment'



Home | Main Index | Thread Index | Old Index