Allow BROKEN_TESTS to cause TESTS to be skipped.
Some tests simply do not work in some environments. Eg. shell-ksh on macos/arm64 Allow local site to set BROKEN_TESTS to skip those they know will not work. Reviewed by: rillig
This commit is contained in:
parent
e3beb37645
commit
837626497a
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.279 2021/06/16 09:39:48 rillig Exp $
|
||||
# $NetBSD: Makefile,v 1.280 2021/06/29 00:35:23 sjg Exp $
|
||||
#
|
||||
# Unit tests for make(1)
|
||||
#
|
||||
|
@ -429,6 +429,12 @@ TESTS+= varparse-mod
|
|||
TESTS+= varparse-undef-partial
|
||||
TESTS+= varquote
|
||||
|
||||
# Some tests just do not work on some platforms or environments
|
||||
# so allow for some filtering.
|
||||
.if !empty(BROKEN_TESTS)
|
||||
TESTS:= ${TESTS:${BROKEN_TESTS:S,^,N,:ts:}}
|
||||
.endif
|
||||
|
||||
# Ideas for more tests:
|
||||
# char-0020-space.mk
|
||||
# char-005C-backslash.mk
|
||||
|
|
Loading…
Reference in New Issue