Skip to content

Commit

Permalink
Enable make/unit-tests/directive-for-break
Browse files Browse the repository at this point in the history
Also ensure MAKE_VERSION is ignored.
  • Loading branch information
sjg authored and sjg committed Sep 2, 2022
1 parent b7bcc17 commit 4450cb8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
5 changes: 4 additions & 1 deletion distrib/sets/lists/tests/mi
@@ -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.
#
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
5 changes: 3 additions & 2 deletions usr.bin/make/unit-tests/Makefile
@@ -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)
#
Expand Down Expand Up @@ -168,7 +168,7 @@ TESTS+= directive-export-impl
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
Expand Down Expand Up @@ -721,6 +721,7 @@ _SED_CMDS+= -e 's,${.OBJDIR},<curdir>,g'
_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}} \
Expand Down

0 comments on commit 4450cb8

Please sign in to comment.