2013-11-08 14:33:41 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
.include <bsd.init.mk>
|
|
|
|
|
|
|
|
TESTSDIR= ${TESTSBASE}/lib/atf/libatf-c++
|
2014-01-10 23:38:33 +00:00
|
|
|
TESTS_SUBDIRS= detail
|
2013-11-08 14:33:41 +00:00
|
|
|
|
|
|
|
ATF= ${.CURDIR:H:H:H:H}/contrib/atf
|
|
|
|
.PATH: ${ATF}/atf-c++
|
|
|
|
.PATH: ${ATF}/atf-c++/detail
|
|
|
|
|
2014-11-01 11:17:54 +00:00
|
|
|
CFLAGS+= -DATF_C_TESTS_BASE='"${TESTSBASE}/lib/atf/libatf-c"'
|
|
|
|
CFLAGS+= -DATF_INCLUDEDIR='"${INCLUDEDIR}"'
|
2013-11-08 14:33:41 +00:00
|
|
|
CFLAGS+= -I${ATF}
|
|
|
|
|
|
|
|
FILESDIR= ${TESTSDIR}
|
|
|
|
FILES= macros_hpp_test.cpp
|
|
|
|
FILES+= unused_test.cpp
|
|
|
|
|
|
|
|
.for _T in atf_c++_test \
|
|
|
|
build_test \
|
|
|
|
check_test \
|
|
|
|
macros_test \
|
|
|
|
tests_test \
|
|
|
|
utils_test
|
|
|
|
ATF_TESTS_CXX+= ${_T}
|
2013-11-17 23:12:55 +00:00
|
|
|
SRCS.${_T}= ${_T}.cpp test_helpers.cpp
|
2013-11-08 14:33:41 +00:00
|
|
|
.endfor
|
|
|
|
|
2014-03-14 08:56:19 +00:00
|
|
|
.include <bsd.test.mk>
|