1# $FreeBSD$ 2 3.include <bsd.init.mk> 4 5PACKAGE= tests 6 7TESTS_SUBDIRS= detail 8 9ATF= ${SRCTOP}/contrib/atf 10.PATH: ${ATF}/atf-c++ 11.PATH: ${ATF}/atf-c++/detail 12 13CFLAGS+= -DATF_C_TESTS_BASE='"${TESTSBASE}/lib/atf/libatf-c"' 14CFLAGS+= -DATF_INCLUDEDIR='"${INCLUDEDIR}"' 15CFLAGS+= -I${ATF} 16 17${PACKAGE}FILES+= macros_hpp_test.cpp 18${PACKAGE}FILES+= unused_test.cpp 19 20.for _T in atf_c++_test \ 21 build_test \ 22 check_test \ 23 macros_test \ 24 tests_test \ 25 utils_test 26ATF_TESTS_CXX+= ${_T} 27SRCS.${_T}= ${_T}.cpp test_helpers.cpp 28.endfor 29 30.for _T in atf_c++_test \ 31 build_test \ 32 check_test \ 33 macros_test 34TEST_METADATA.${_T}+= required_programs="c++" 35.endfor 36 37.include <bsd.test.mk> 38