svn commit: r345893 - in head/lib/atf: libatf-c++/tests libatf-c/tests

Olivier Cochard olivier at FreeBSD.org
Thu Apr 4 20:34:18 UTC 2019


Author: olivier (ports committer)
Date: Thu Apr  4 20:34:17 2019
New Revision: 345893
URL: https://svnweb.freebsd.org/changeset/base/345893

Log:
  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

Modified:
  head/lib/atf/libatf-c++/tests/Makefile
  head/lib/atf/libatf-c/tests/Makefile

Modified: head/lib/atf/libatf-c++/tests/Makefile
==============================================================================
--- head/lib/atf/libatf-c++/tests/Makefile	Thu Apr  4 20:30:14 2019	(r345892)
+++ head/lib/atf/libatf-c++/tests/Makefile	Thu Apr  4 20:34:17 2019	(r345893)
@@ -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>

Modified: head/lib/atf/libatf-c/tests/Makefile
==============================================================================
--- head/lib/atf/libatf-c/tests/Makefile	Thu Apr  4 20:30:14 2019	(r345892)
+++ head/lib/atf/libatf-c/tests/Makefile	Thu Apr  4 20:34:17 2019	(r345893)
@@ -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>


More information about the svn-src-head mailing list