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): enable test phony-end



details:   https://anonhg.NetBSD.org/src/rev/9dafc01a8fdd
branches:  trunk
changeset: 974646:9dafc01a8fdd
user:      rillig <rillig%NetBSD.org@localhost>
date:      Fri Aug 07 14:26:18 2020 +0000

description:
make(1): enable test phony-end

This at least documents the actual behavior.  Not sure what the expected
behavior is and why.

diffstat:

 usr.bin/make/unit-tests/Makefile      |  4 ++--
 usr.bin/make/unit-tests/phony-end.exp |  2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r 138626b11ed2 -r 9dafc01a8fdd usr.bin/make/unit-tests/Makefile
--- a/usr.bin/make/unit-tests/Makefile  Fri Aug 07 14:20:08 2020 +0000
+++ b/usr.bin/make/unit-tests/Makefile  Fri Aug 07 14:26:18 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.86 2020/08/07 13:43:50 rillig Exp $
+# $NetBSD: Makefile,v 1.87 2020/08/07 14:26:18 rillig Exp $
 #
 # Unit tests for make(1)
 #
@@ -66,7 +66,7 @@
 TESTS+=                modts
 TESTS+=                modword
 TESTS+=                order
-TESTS+=                # phony-end     # broken by reverting POSIX changes
+TESTS+=                phony-end       # broken by reverting POSIX changes
 TESTS+=                posix
 TESTS+=                # posix1        # broken by reverting POSIX changes
 TESTS+=                qequals
diff -r 138626b11ed2 -r 9dafc01a8fdd usr.bin/make/unit-tests/phony-end.exp
--- a/usr.bin/make/unit-tests/phony-end.exp     Fri Aug 07 14:20:08 2020 +0000
+++ b/usr.bin/make/unit-tests/phony-end.exp     Fri Aug 07 14:26:18 2020 +0000
@@ -1,5 +1,5 @@
 .TARGET="phony" .PREFIX="phony" .IMPSRC=""
-.TARGET="all" .PREFIX="all" .IMPSRC="phony"
+.TARGET="all" .PREFIX="all" .IMPSRC=""
 .TARGET="ok" .PREFIX="ok" .IMPSRC=""
 .TARGET="also.ok" .PREFIX="also.ok" .IMPSRC=""
 .TARGET="bug" .PREFIX="bug" .IMPSRC=""



Home | Main Index | Thread Index | Old Index