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_gif 13ATF_TESTS_SH+= if_lagg_test 14ATF_TESTS_SH+= if_stf 15ATF_TESTS_SH+= if_tun_test 16ATF_TESTS_SH+= if_vlan 17 18TESTS_SUBDIRS+= if_ovpn 19TESTS_SUBDIRS+= routing 20 21# The tests are written to be run in parallel, but doing so leads to random 22# panics. I think it's because the kernel's list of interfaces isn't properly 23# locked. 24TEST_METADATA+= is_exclusive=true 25 26${PACKAGE}FILES+= \ 27 dhclient_pcp.conf \ 28 pcp.py \ 29 stp.py 30 31${PACKAGE}FILESMODE_pcp.py= 0555 32${PACKAGE}FILESMODE_stp.py= 0555 33 34MAN= 35PROGS+= randsleep 36 37CFLAGS+= -I${.CURDIR:H:H} 38 39.include <bsd.test.mk> 40