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_INCLUDEDIR='"${INCLUDEDIR}"' 16CFLAGS+= -I${ATF} 17 18# macros_test.c contains a double 'const const' which will be gone with 19# the import of atf-0.18. 20# TODO(jmmv): Remove this workaround once we do that update. 21CFLAGS.clang+= -Wno-duplicate-decl-specifier 22 23FILESDIR= ${TESTSDIR} 24FILES= macros_h_test.c 25FILES+= unused_test.c 26 27.for _T in atf_c_test \ 28 build_test \ 29 check_test \ 30 error_test \ 31 macros_test \ 32 tc_test \ 33 tp_test \ 34 utils_test 35ATF_TESTS_C+= ${_T} 36SRCS.${_T}= ${_T}.c test_helpers.c 37.endfor 38 39.include <bsd.test.mk> 40