1# $FreeBSD$ 2 3.include <bsd.init.mk> 4 5TESTSDIR= ${TESTSBASE}/lib/atf/libatf-c 6TESTS_SUBDIRS= detail 7 8ATF= ${.CURDIR:H:H:H:H}/contrib/atf 9.PATH: ${ATF}/atf-c 10.PATH: ${ATF}/atf-c/detail 11 12CFLAGS+= -I${ATF} 13 14# macros_test.c contains a double 'const const' which will be gone with 15# the import of atf-0.18. 16# TODO(jmmv): Remove this workaround once we do that update. 17CFLAGS.clang+= -Wno-duplicate-decl-specifier 18 19FILESDIR= ${TESTSDIR} 20FILES= macros_h_test.c 21FILES+= unused_test.c 22 23.for _T in atf_c_test \ 24 build_test \ 25 check_test \ 26 config_test \ 27 error_test \ 28 macros_test \ 29 tc_test \ 30 tp_test \ 31 utils_test 32ATF_TESTS_C+= ${_T} 33SRCS.${_T}= ${_T}.c test_helpers.c 34.endfor 35 36ATF_TESTS_SH= pkg_config_test 37 38.include <atf.test.mk> 39