Module Name:    src
Committed By:   rillig
Date:           Mon Sep  7 18:49:15 UTC 2020

Modified Files:
        src/usr.bin/make/unit-tests: Makefile

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


To generate a diff of this commit:
cvs rdiff -u -r1.137 -r1.138 src/usr.bin/make/unit-tests/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/make/unit-tests/Makefile
diff -u src/usr.bin/make/unit-tests/Makefile:1.137 src/usr.bin/make/unit-tests/Makefile:1.138
--- src/usr.bin/make/unit-tests/Makefile:1.137	Mon Sep  7 18:43:59 2020
+++ src/usr.bin/make/unit-tests/Makefile	Mon Sep  7 18:49:15 2020
@@ -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 @@ LC_ALL=		C
 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}

Reply via email to