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 make(1): let the test directive-for-...



details:   https://anonhg.NetBSD.org/src/rev/a7fd9faf4ade
branches:  trunk
changeset: 1018177:a7fd9faf4ade
user:      rillig <rillig%NetBSD.org@localhost>
date:      Sun Jan 24 19:30:18 2021 +0000

description:
make(1): let the test directive-for-escape exit successfully

There is no reason for a non-zero exit status here.

diffstat:

 usr.bin/make/unit-tests/directive-for-escape.exp |  5 +----
 usr.bin/make/unit-tests/directive-for-escape.mk  |  4 +++-
 2 files changed, 4 insertions(+), 5 deletions(-)

diffs (27 lines):

diff -r aa810c8a18cc -r a7fd9faf4ade usr.bin/make/unit-tests/directive-for-escape.exp
--- a/usr.bin/make/unit-tests/directive-for-escape.exp  Sun Jan 24 18:02:51 2021 +0000
+++ b/usr.bin/make/unit-tests/directive-for-escape.exp  Sun Jan 24 19:30:18 2021 +0000
@@ -68,7 +68,4 @@
 make: "directive-for-escape.mk" line 93: .     ${i2}: two
 make: "directive-for-escape.mk" line 94: .     ${i,}: comma
 make: "directive-for-escape.mk" line 95: .  adjacent: innerinnerinnerinner
-make: no target to make.
-
-make: stopped in unit-tests
-exit status 2
+exit status 0
diff -r aa810c8a18cc -r a7fd9faf4ade usr.bin/make/unit-tests/directive-for-escape.mk
--- a/usr.bin/make/unit-tests/directive-for-escape.mk   Sun Jan 24 18:02:51 2021 +0000
+++ b/usr.bin/make/unit-tests/directive-for-escape.mk   Sun Jan 24 19:30:18 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: directive-for-escape.mk,v 1.3 2020/12/31 14:26:37 rillig Exp $
+# $NetBSD: directive-for-escape.mk,v 1.4 2021/01/24 19:30:18 rillig Exp $
 #
 # Test escaping of special characters in the iteration values of a .for loop.
 # These values get expanded later using the :U variable modifier, and this
@@ -94,3 +94,5 @@
 .  info .     $${i,}: ${i,}
 .  info .  adjacent: $i${i}${i:M*}$i
 .endfor
+
+all:



Home | Main Index | Thread Index | Old Index