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 Enable make/unit-tests/directive-for...



details:   https://anonhg.NetBSD.org/src/rev/ac773d53c11b
branches:  trunk
changeset: 369826:ac773d53c11b
user:      sjg <sjg%NetBSD.org@localhost>
date:      Fri Sep 02 18:54:25 2022 +0000

description:
Enable make/unit-tests/directive-for-break

Also ensure MAKE_VERSION is ignored.

diffstat:

 distrib/sets/lists/tests/mi      |  5 ++++-
 usr.bin/make/unit-tests/Makefile |  5 +++--
 2 files changed, 7 insertions(+), 3 deletions(-)

diffs (52 lines):

diff -r ef7b849365c2 -r ac773d53c11b distrib/sets/lists/tests/mi
--- a/distrib/sets/lists/tests/mi       Fri Sep 02 16:24:31 2022 +0000
+++ b/distrib/sets/lists/tests/mi       Fri Sep 02 18:54:25 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.1220 2022/08/27 08:31:58 christos Exp $
+# $NetBSD: mi,v 1.1221 2022/09/02 18:54:25 sjg Exp $
 #
 # Note: don't delete entries from here - mark them as "obsolete" instead.
 #
@@ -5634,6 +5634,8 @@
 ./usr/tests/usr.bin/make/unit-tests/directive-export-literal.mk                        tests-usr.bin-tests     compattestfile,atf
 ./usr/tests/usr.bin/make/unit-tests/directive-export.exp                       tests-usr.bin-tests     compattestfile,atf
 ./usr/tests/usr.bin/make/unit-tests/directive-export.mk                                tests-usr.bin-tests     compattestfile,atf
+./usr/tests/usr.bin/make/unit-tests/directive-for-break.exp                    tests-usr.bin-tests     compattestfile,atf
+./usr/tests/usr.bin/make/unit-tests/directive-for-break.mk                     tests-usr.bin-tests     compattestfile,atf
 ./usr/tests/usr.bin/make/unit-tests/directive-for-empty.exp                    tests-usr.bin-tests     compattestfile,atf
 ./usr/tests/usr.bin/make/unit-tests/directive-for-empty.mk                     tests-usr.bin-tests     compattestfile,atf
 ./usr/tests/usr.bin/make/unit-tests/directive-for-errors.exp                   tests-usr.bin-tests     compattestfile,atf
@@ -5740,6 +5742,7 @@
 ./usr/tests/usr.bin/make/unit-tests/jobs-error-nested.mk                       tests-usr.bin-tests     compattestfile,atf
 ./usr/tests/usr.bin/make/unit-tests/lint.exp                                   tests-usr.bin-tests     compattestfile,atf
 ./usr/tests/usr.bin/make/unit-tests/lint.mk                                    tests-usr.bin-tests     compattestfile,atf
+./usr/tests/usr.bin/make/unit-tests/local.init.mk                              tests-usr.bin-tests     compattestfile,atf
 ./usr/tests/usr.bin/make/unit-tests/make-exported.exp                          tests-usr.bin-tests     compattestfile,atf
 ./usr/tests/usr.bin/make/unit-tests/make-exported.mk                           tests-usr.bin-tests     compattestfile,atf
 ./usr/tests/usr.bin/make/unit-tests/meta-cmd-cmp.exp                           tests-usr.bin-tests     compattestfile,atf
diff -r ef7b849365c2 -r ac773d53c11b usr.bin/make/unit-tests/Makefile
--- a/usr.bin/make/unit-tests/Makefile  Fri Sep 02 16:24:31 2022 +0000
+++ b/usr.bin/make/unit-tests/Makefile  Fri Sep 02 18:54:25 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.322 2022/09/02 16:24:31 sjg Exp $
+# $NetBSD: Makefile,v 1.323 2022/09/02 18:54:25 sjg Exp $
 #
 # Unit tests for make(1)
 #
@@ -168,7 +168,7 @@
 TESTS+=                directive-export-gmake
 TESTS+=                directive-export-literal
 TESTS+=                directive-for
-#TESTS+=               directive-for-break
+TESTS+=                directive-for-break
 TESTS+=                directive-for-empty
 TESTS+=                directive-for-errors
 TESTS+=                directive-for-escape
@@ -721,6 +721,7 @@
 _SED_CMDS+=    -e 's,${.CURDIR},<curdir>,g'
 _SED_CMDS+=    -e 's,<curdir>/,,g'
 _SED_CMDS+=    -e 's,${UNIT_TESTS:S,.,\\.,g}/,,g'
+_SED_CMDS+=    -e '/MAKE_VERSION/d'
 
 .rawout.out:
        @${TOOL_SED} ${_SED_CMDS} ${SED_CMDS.${.PREFIX:T}} \



Home | Main Index | Thread Index | Old Index