summaryrefslogtreecommitdiffstats
path: root/lib/atf/libatf-c++/tests/detail/Makefile
blob: f7d672e792fbc7ce4d203280dae83707d0759280 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# $FreeBSD$

.include <bsd.init.mk>

TESTSDIR=	${TESTSBASE}/lib/atf/libatf-c++/detail

ATF=		${SRCTOP}/contrib/atf
.PATH:		${ATF}/atf-c++/detail

CFLAGS+=	-DATF_C_TESTS_BASE='"${TESTSBASE}/lib/atf/libatf-c"'
CFLAGS+=	-DATF_INCLUDEDIR='"${INCLUDEDIR}"'
CFLAGS+=	-I${ATF}

.for _T in	application_test \
		env_test \
		exceptions_test \
		fs_test \
		process_test \
		text_test
ATF_TESTS_CXX+=	${_T}
SRCS.${_T}=	${_T}.cpp test_helpers.cpp
.endfor

.for p in version_helper
PROGS_CXX+=	${p}
SRCS.${p}=	${p}.cpp
MAN.${p}=	# defined
BINDIR.${p}=	${TESTSDIR}
.endfor
version_helper.o: atf-version

.include "../../../common.mk"
.include <bsd.test.mk>
OpenPOWER on IntegriCloud