mirror of
https://github.com/opnsense/src.git
synced 2026-04-29 01:59:38 -04:00
We should not be leaking these interfaces to the outside world given that it's much easier for third-party components to use the devel/atf package from ports. As a side-effect, we can also drop the ATF pkgconfig and aclocal files from the base system. Nothing in the base system needs these, and it was quite ugly to have to get them installed only so that a few ports could build. The offending ports have been fixed to depend on devel/atf explicitly. Reviewed by: bapt
36 lines
706 B
Makefile
36 lines
706 B
Makefile
# $FreeBSD$
|
|
|
|
.include <bsd.init.mk>
|
|
|
|
TESTSDIR= ${TESTSBASE}/lib/atf/libatf-c
|
|
TESTS_SUBDIRS= detail
|
|
|
|
ATF= ${.CURDIR:H:H:H:H}/contrib/atf
|
|
.PATH: ${ATF}/atf-c
|
|
.PATH: ${ATF}/atf-c/detail
|
|
|
|
CFLAGS+= -I${ATF}
|
|
|
|
# macros_test.c contains a double 'const const' which will be gone with
|
|
# the import of atf-0.18.
|
|
# TODO(jmmv): Remove this workaround once we do that update.
|
|
CFLAGS.clang+= -Wno-duplicate-decl-specifier
|
|
|
|
FILESDIR= ${TESTSDIR}
|
|
FILES= macros_h_test.c
|
|
FILES+= unused_test.c
|
|
|
|
.for _T in atf_c_test \
|
|
build_test \
|
|
check_test \
|
|
config_test \
|
|
error_test \
|
|
macros_test \
|
|
tc_test \
|
|
tp_test \
|
|
utils_test
|
|
ATF_TESTS_C+= ${_T}
|
|
SRCS.${_T}= ${_T}.c test_helpers.c
|
|
.endfor
|
|
|
|
.include <bsd.test.mk>
|