xref: /freebsd/tests/sys/net/Makefile (revision 8ccf50324056f9a5cb1f0da6886380775ae4f51a)
14b40bdbdSAlan Somers# $FreeBSD$
24b40bdbdSAlan Somers
34b40bdbdSAlan Somers.include <bsd.own.mk>
44b40bdbdSAlan Somers
54b40bdbdSAlan SomersTESTSDIR=	${TESTSBASE}/sys/net
64b40bdbdSAlan SomersBINDIR=		${TESTSDIR}
74b40bdbdSAlan Somers
8095aabf7SKristof ProvostATF_TESTS_C+=	if_epair
9095aabf7SKristof ProvostATF_TESTS_SH+=	if_bridge_test
104b40bdbdSAlan SomersATF_TESTS_SH+=	if_clone_test
11095aabf7SKristof ProvostATF_TESTS_SH+=	if_lagg_test
123846e575SKristof ProvostATF_TESTS_SH+=	if_tun_test
13fcd69db2SKristof ProvostATF_TESTS_SH+=	if_vlan
144b40bdbdSAlan Somers
15775dc861SAlexander V. ChernikovTESTS_SUBDIRS+=	routing
16775dc861SAlexander V. Chernikov
174b40bdbdSAlan Somers# The tests are written to be run in parallel, but doing so leads to random
184b40bdbdSAlan Somers# panics.  I think it's because the kernel's list of interfaces isn't properly
194b40bdbdSAlan Somers# locked.
204b40bdbdSAlan SomersTEST_METADATA+=	is_exclusive=true
214b40bdbdSAlan Somers
224b40bdbdSAlan SomersMAN=
235458a63bSKristof ProvostPROGS+=		randsleep
244b40bdbdSAlan Somers
25*8ccf5032SOlivier CochardCFLAGS+=        -I${.CURDIR:H:H}
26*8ccf5032SOlivier Cochard
274b40bdbdSAlan SomersWARNS?=		6
284b40bdbdSAlan Somers
294b40bdbdSAlan Somers.include <bsd.test.mk>
30