mirror of
https://github.com/opnsense/src.git
synced 2026-02-16 09:08:51 -05:00
netbsd-tests.test.mk (r289151) - Eliminate explicit OBJTOP/SRCTOP setting - Convert all ad hoc NetBSD test integration over to netbsd-tests.test.mk - Remove unnecessary TESTSDIR setting - Use SRCTOP where possible for clarity MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Divison
29 lines
536 B
Makefile
29 lines
536 B
Makefile
# $FreeBSD$
|
|
|
|
.include <bsd.init.mk>
|
|
|
|
TESTS_SUBDIRS= detail
|
|
|
|
ATF= ${SRCTOP}/contrib/atf
|
|
.PATH: ${ATF}/atf-c++
|
|
.PATH: ${ATF}/atf-c++/detail
|
|
|
|
CFLAGS+= -DATF_C_TESTS_BASE='"${TESTSBASE}/lib/atf/libatf-c"'
|
|
CFLAGS+= -DATF_INCLUDEDIR='"${INCLUDEDIR}"'
|
|
CFLAGS+= -I${ATF}
|
|
|
|
FILESDIR= ${TESTSDIR}
|
|
FILES= macros_hpp_test.cpp
|
|
FILES+= unused_test.cpp
|
|
|
|
.for _T in atf_c++_test \
|
|
build_test \
|
|
check_test \
|
|
macros_test \
|
|
tests_test \
|
|
utils_test
|
|
ATF_TESTS_CXX+= ${_T}
|
|
SRCS.${_T}= ${_T}.cpp test_helpers.cpp
|
|
.endfor
|
|
|
|
.include <bsd.test.mk>
|