]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - lib/atf/libatf-c/tests/Makefile
Update OpenSSL to 1.1.1.
[FreeBSD/FreeBSD.git] / lib / atf / libatf-c / tests / Makefile
1 # $FreeBSD$
2
3 .include <bsd.init.mk>
4
5 PACKAGE=        tests
6
7 TESTS_SUBDIRS=  detail
8
9 ATF=            ${SRCTOP}/contrib/atf
10 .PATH:          ${ATF}/atf-c
11 .PATH:          ${ATF}/atf-c/detail
12
13 CFLAGS+=        -DATF_INCLUDEDIR='"${INCLUDEDIR}"'
14 CFLAGS+=        -I${ATF}
15
16 # macros_test.c contains a double 'const const' which will be gone with
17 # the import of atf-0.18.
18 # TODO(jmmv): Remove this workaround once we do that update.
19 CFLAGS.clang+=  -Wno-duplicate-decl-specifier
20
21 ${PACKAGE}FILES+=       macros_h_test.c
22 ${PACKAGE}FILES+=       unused_test.c
23
24 .for _T in      atf_c_test \
25                 build_test \
26                 check_test \
27                 error_test \
28                 macros_test \
29                 tc_test \
30                 tp_test \
31                 utils_test
32 ATF_TESTS_C+=   ${_T}
33 SRCS.${_T}=     ${_T}.c test_helpers.c
34 .endfor
35
36 .include <bsd.test.mk>