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