Module Name: src
Committed By: rillig
Date: Sat Jul 4 21:04:25 UTC 2020
Modified Files:
src/usr.bin/make/unit-tests: Makefile
Log Message:
make(1): improve documentation about adding new tests
To generate a diff of this commit:
cvs rdiff -u -r1.59 -r1.60 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.59 src/usr.bin/make/unit-tests/Makefile:1.60
--- src/usr.bin/make/unit-tests/Makefile:1.59 Sun Jun 28 09:42:40 2020
+++ src/usr.bin/make/unit-tests/Makefile Sat Jul 4 21:04:25 2020
@@ -1,17 +1,27 @@
-# $NetBSD: Makefile,v 1.59 2020/06/28 09:42:40 rillig Exp $
+# $NetBSD: Makefile,v 1.60 2020/07/04 21:04:25 rillig Exp $
#
# Unit tests for make(1)
+#
# The main targets are:
-#
-# all: run all the tests
-# test: run 'all', and compare to expected results
-# accept: move generated output to expected results
#
-# Adding a test case.
+# all:
+# run all the tests
+# test:
+# run 'all', and compare to expected results
+# accept:
+# move generated output to expected results
+#
+#
+# Adding a test case
+#
# Each feature should get its own set of tests in its own suitably
# named makefile (*.mk), with its own set of expected results (*.exp),
# and it should be added to the TESTNAMES list.
-#
+#
+# Any added files must also be added to src/distrib/sets/lists/tests/mi.
+# Makefiles that are not added to TESTNAMES must be ignored in
+# src/tests/usr.bin/make/t_make.sh (example: include-sub).
+#
.MAIN: all