xref: /freebsd/lib/libcasper/services/cap_sysctl/tests/Makefile (revision d9a42747950146bf03cda7f6e25d219253f8a57a)
1# $FreeBSD$
2
3.include <src.opts.mk>
4
5ATF_TESTS_C=	sysctl_test
6
7.if ${MK_CASPER} != "no"
8LIBADD+=	casper
9LIBADD+=	cap_sysctl
10CFLAGS+=-DWITH_CASPER
11.endif
12LIBADD+=	nv
13
14# cap_sysctl tests modify global sysctl values and read them back, so
15# cannot be run in parallel.
16TEST_METADATA.sysctl_test+=	required_user="root" \
17				is_exclusive=true
18
19.include <bsd.test.mk>
20