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