Olivier Cochard 8ccf503240 Skip if_epair regression test if module doesn't exist
Approved by:	kp
Sponsored by:	Netflix
Differential Revision:	https://reviews.freebsd.org/D23876
2020-03-03 17:35:15 +00:00

30 lines
569 B
Makefile

# $FreeBSD$
.include <bsd.own.mk>
TESTSDIR= ${TESTSBASE}/sys/net
BINDIR= ${TESTSDIR}
ATF_TESTS_C+= if_epair
ATF_TESTS_SH+= if_bridge_test
ATF_TESTS_SH+= if_clone_test
ATF_TESTS_SH+= if_lagg_test
ATF_TESTS_SH+= if_tun_test
ATF_TESTS_SH+= if_vlan
TESTS_SUBDIRS+= routing
# The tests are written to be run in parallel, but doing so leads to random
# panics. I think it's because the kernel's list of interfaces isn't properly
# locked.
TEST_METADATA+= is_exclusive=true
MAN=
PROGS+= randsleep
CFLAGS+= -I${.CURDIR:H:H}
WARNS?= 6
.include <bsd.test.mk>