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): explain why each test is ru...



details:   https://anonhg.NetBSD.org/src/rev/41f598ff1b1e
branches:  trunk
changeset: 954656:41f598ff1b1e
user:      rillig <rillig%NetBSD.org@localhost>
date:      Mon Sep 07 18:49:15 2020 +0000

description:
make(1): explain why each test is run in a sub-make

diffstat:

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

diffs (20 lines):

diff -r 984806e4bf96 -r 41f598ff1b1e usr.bin/make/unit-tests/Makefile
--- a/usr.bin/make/unit-tests/Makefile  Mon Sep 07 18:43:59 2020 +0000
+++ b/usr.bin/make/unit-tests/Makefile  Mon Sep 07 18:49:15 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.137 2020/09/07 18:43:59 rillig Exp $
+# $NetBSD: Makefile,v 1.138 2020/09/07 18:49:15 rillig Exp $
 #
 # Unit tests for make(1)
 #
@@ -431,7 +431,9 @@
 LANG=          C
 .export LANG LC_ALL
 
-# the tests are actually done with sub-makes.
+# Each test is run in a sub-make, to keep the tests for interfering with
+# each other, and because they use different environment variables and
+# command line options.
 .SUFFIXES: .mk .rawout .out
 .mk.rawout:
        @${_MKMSG_TEST:Uecho '#      test '} ${.PREFIX}



Home | Main Index | Thread Index | Old Index