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