Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/make/unit-tests Add a new test case to reflect the p...



details:   https://anonhg.NetBSD.org/src/rev/cfef4c0f0054
branches:  trunk
changeset: 582141:cfef4c0f0054
user:      rpaulo <rpaulo%NetBSD.org@localhost>
date:      Sat Jun 18 14:33:15 2005 +0000

description:
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 a7e448471d25 -r cfef4c0f0054 usr.bin/make/unit-tests/comment
--- a/usr.bin/make/unit-tests/comment   Sat Jun 18 14:32:04 2005 +0000
+++ b/usr.bin/make/unit-tests/comment   Sat Jun 18 14:33:15 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