1# $FreeBSD: head/lib/atf/libatf-c/tests/Makefile 259730 2013-12-22 17:51:33Z dim $
| 1# $FreeBSD: head/lib/atf/libatf-c/tests/Makefile 260525 2014-01-10 23:38:33Z jmmv $
|
2 3.include <bsd.init.mk> 4 5TESTSDIR= ${TESTSBASE}/lib/atf/libatf-c
| 2 3.include <bsd.init.mk> 4 5TESTSDIR= ${TESTSBASE}/lib/atf/libatf-c
|
| 6TESTS_SUBDIRS= detail
|
6 7ATF= ${.CURDIR:H:H:H:H}/contrib/atf 8.PATH: ${ATF}/atf-c 9.PATH: ${ATF}/atf-c/detail 10 11CFLAGS+= -I${ATF} 12 13# macros_test.c contains a double 'const const' which will be gone with 14# the import of atf-0.18. 15# TODO(jmmv): Remove this workaround once we do that update. 16CFLAGS.clang+= -Wno-duplicate-decl-specifier 17 18FILESDIR= ${TESTSDIR} 19FILES= macros_h_test.c 20FILES+= unused_test.c 21
| 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
|
22# Tests in atf-c. 23
| |
24.for _T in atf_c_test \ 25 build_test \ 26 check_test \ 27 config_test \ 28 error_test \ 29 macros_test \ 30 tc_test \ 31 tp_test \ 32 utils_test 33ATF_TESTS_C+= ${_T} 34SRCS.${_T}= ${_T}.c test_helpers.c 35.endfor 36 37ATF_TESTS_SH= pkg_config_test 38
| 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
|
39# Tests in atf-c/detail. 40 41.for _T in dynstr_test \ 42 env_test \ 43 fs_test \ 44 list_test \ 45 map_test \ 46 process_test \ 47 sanity_test \ 48 text_test \ 49 user_test 50ATF_TESTS_C+= ${_T} 51SRCS.${_T}= ${_T}.c test_helpers.c 52.endfor 53 54PROGS+= process_helpers 55SRCS.process_helpers= process_helpers.c 56MAN.process_helpers= # defined 57BINDIR.process_helpers= ${TESTSDIR} 58
| |
59.include <atf.test.mk>
| 38.include <atf.test.mk>
|