freebsd-dev/lib/atf/libatf-c/tests/Makefile
Ed Maste 15c0034ff2 libatf: remove workaround not required after atf >= 0.18 update
lib/atf/libatf-c/tests/Makefile added the -Wno-duplicate-decl-specifier
due to an issue with an old version of ATF.  ATF has long since been
updated to a version with the fix so the workaround is no longer
necessary.

Found during review for PR 236889.

PR:		236889
MFC after:	2 weeks
Sponsored by:	The FreeBSD Foundation
2019-06-01 18:26:07 +00:00

39 lines
615 B
Makefile

# $FreeBSD$
.include <bsd.init.mk>
PACKAGE= tests
TESTS_SUBDIRS= detail
ATF= ${SRCTOP}/contrib/atf
.PATH: ${ATF}/atf-c
.PATH: ${ATF}/atf-c/detail
CFLAGS+= -DATF_INCLUDEDIR='"${INCLUDEDIR}"'
CFLAGS+= -I${ATF}
${PACKAGE}FILES+= macros_h_test.c
${PACKAGE}FILES+= unused_test.c
.for _T in atf_c_test \
build_test \
check_test \
error_test \
macros_test \
tc_test \
tp_test \
utils_test
ATF_TESTS_C+= ${_T}
SRCS.${_T}= ${_T}.c test_helpers.c
.endfor
.for _T in atf_c_test \
build_test \
check_test \
macros_test
TEST_METADATA.${_T}+= required_programs="cc"
.endfor
.include <bsd.test.mk>