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): improve documentation about...



details:   https://anonhg.NetBSD.org/src/rev/30fb16c02210
branches:  trunk
changeset: 973586:30fb16c02210
user:      rillig <rillig%NetBSD.org@localhost>
date:      Sat Jul 04 21:04:25 2020 +0000

description:
make(1): improve documentation about adding new tests

diffstat:

 usr.bin/make/unit-tests/Makefile |  24 +++++++++++++++++-------
 1 files changed, 17 insertions(+), 7 deletions(-)

diffs (38 lines):

diff -r fb4f7b057f07 -r 30fb16c02210 usr.bin/make/unit-tests/Makefile
--- a/usr.bin/make/unit-tests/Makefile  Sat Jul 04 21:03:50 2020 +0000
+++ b/usr.bin/make/unit-tests/Makefile  Sat Jul 04 21:04:25 2020 +0000
@@ -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
 



Home | Main Index | Thread Index | Old Index