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