Add requiered programs (cc and c++) for some lib/atf regression tests

PR:		236889
Reviewed by:	ngie
Approved by:	emaste (on IRC)
MFC after:	1 month
Sponsored by:	Netflix
This commit is contained in:
Olivier Cochard 2019-04-04 20:34:17 +00:00
parent e667e2a480
commit 6a2d6673e6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=345893
2 changed files with 14 additions and 0 deletions

View file

@ -27,4 +27,11 @@ ATF_TESTS_CXX+= ${_T}
SRCS.${_T}= ${_T}.cpp test_helpers.cpp
.endfor
.for _T in atf_c++_test \
build_test \
check_test \
macros_test
TEST_METADATA.${_T}+= required_programs="c++"
.endfor
.include <bsd.test.mk>

View file

@ -33,4 +33,11 @@ ATF_TESTS_C+= ${_T}
SRCS.${_T}= ${_T}.c test_helpers.c
.endfor
.for _T in atf_c_test \
build_test \
check_test \
macros_test
TEST_METADATA.${_T}+= required_programs="cc"
.endfor
.include <bsd.test.mk>