1# $FreeBSD$ 2 3PACKAGE= tests 4 5TESTSDIR= ${TESTSBASE}/sys/net 6BINDIR= ${TESTSDIR} 7 8ATF_TESTS_C+= if_epair 9ATF_TESTS_SH+= if_bridge_test 10TEST_METADATA.if_bridge_test+= required_programs="python" 11ATF_TESTS_SH+= if_clone_test 12ATF_TESTS_SH+= if_lagg_test 13ATF_TESTS_SH+= if_tun_test 14ATF_TESTS_SH+= if_vlan 15 16TESTS_SUBDIRS+= routing 17 18# The tests are written to be run in parallel, but doing so leads to random 19# panics. I think it's because the kernel's list of interfaces isn't properly 20# locked. 21TEST_METADATA+= is_exclusive=true 22 23${PACKAGE}FILES+= \ 24 stp.py 25 26${PACKAGE}FILESMODE_stp.py= 0555 27 28MAN= 29PROGS+= randsleep 30 31CFLAGS+= -I${.CURDIR:H:H} 32 33.include <bsd.test.mk> 34