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