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 tests/make: run nested makes with -r...



details:   https://anonhg.NetBSD.org/src/rev/0f53e9b2aec9
branches:  trunk
changeset: 359804:0f53e9b2aec9
user:      rillig <rillig%NetBSD.org@localhost>
date:      Sun Jan 23 18:15:29 2022 +0000

description:
tests/make: run nested makes with -r to reduce side effects

diffstat:

 usr.bin/make/unit-tests/posix.mk |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (23 lines):

diff -r 485c6756b93c -r 0f53e9b2aec9 usr.bin/make/unit-tests/posix.mk
--- a/usr.bin/make/unit-tests/posix.mk  Sun Jan 23 18:00:53 2022 +0000
+++ b/usr.bin/make/unit-tests/posix.mk  Sun Jan 23 18:15:29 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: posix.mk,v 1.2 2020/10/24 08:34:59 rillig Exp $
+# $NetBSD: posix.mk,v 1.3 2022/01/23 18:15:29 rillig Exp $
 
 all:   x plus subs err
 
@@ -14,11 +14,10 @@
 
 subs:
        @echo make -n
-       @${.MAKE} -f ${MAKEFILE} -n plus
+       @${.MAKE} -r -f ${MAKEFILE} -n plus
        @echo make -n -j1
-       @${.MAKE} -f ${MAKEFILE} -n -j1 plus
+       @${.MAKE} -r -f ${MAKEFILE} -n -j1 plus
 
 err:
        @(echo Now we expect an error...; exit 1)
        @echo "Oops! you shouldn't see this!"
-



Home | Main Index | Thread Index | Old Index