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