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 Avoid problem with /usr/obj



details:   https://anonhg.NetBSD.org/src/rev/6066e7074907
branches:  trunk
changeset: 942697:6066e7074907
user:      sjg <sjg%NetBSD.org@localhost>
date:      Sun Nov 15 05:43:56 2020 +0000

description:
Avoid problem with /usr/obj

diffstat:

 usr.bin/make/unit-tests/opt-chdir.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 97f1599da0b4 -r 6066e7074907 usr.bin/make/unit-tests/opt-chdir.mk
--- a/usr.bin/make/unit-tests/opt-chdir.mk      Sun Nov 15 00:54:13 2020 +0000
+++ b/usr.bin/make/unit-tests/opt-chdir.mk      Sun Nov 15 05:43:56 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: opt-chdir.mk,v 1.4 2020/11/14 22:39:14 rillig Exp $
+# $NetBSD: opt-chdir.mk,v 1.5 2020/11/15 05:43:56 sjg Exp $
 #
 # Tests for the -C command line option, which changes the directory at the
 # beginning.
@@ -20,7 +20,7 @@
 # In this test, it is the root directory since almost any other directory
 # is not guaranteed to exist on every platform.
 chdir-root: .PHONY .IGNORE
-       @${MAKE} -C / -V 'cwd: $${.CURDIR}'
+       @MAKE_OBJDIR_CHECK_WRITABLE=no ${MAKE} -C / -V 'cwd: $${.CURDIR}'
 
 # Trying to change to a nonexistent directory exits immediately.
 chdir-nonexistent: .PHONY .IGNORE



Home | Main Index | Thread Index | Old Index