14b40bdbdSAlan Somers# $FreeBSD$ 24b40bdbdSAlan Somers 34ae3a97eSKristof ProvostPACKAGE= tests 44b40bdbdSAlan Somers 54b40bdbdSAlan SomersTESTSDIR= ${TESTSBASE}/sys/net 64b40bdbdSAlan SomersBINDIR= ${TESTSDIR} 74b40bdbdSAlan Somers 8095aabf7SKristof ProvostATF_TESTS_C+= if_epair 9095aabf7SKristof ProvostATF_TESTS_SH+= if_bridge_test 10f464bd04SEdward Tomasz NapieralaTEST_METADATA.if_bridge_test+= required_programs="python" 114b40bdbdSAlan SomersATF_TESTS_SH+= if_clone_test 126e0755b3SKristof ProvostATF_TESTS_SH+= if_gif 13095aabf7SKristof ProvostATF_TESTS_SH+= if_lagg_test 14eb5e0755SKristof ProvostATF_TESTS_SH+= if_stf 153846e575SKristof ProvostATF_TESTS_SH+= if_tun_test 16fcd69db2SKristof ProvostATF_TESTS_SH+= if_vlan 174b40bdbdSAlan Somers 18*067acae2SKristof ProvostTESTS_SUBDIRS+= if_ovpn 19775dc861SAlexander V. ChernikovTESTS_SUBDIRS+= routing 20775dc861SAlexander V. Chernikov 214b40bdbdSAlan Somers# The tests are written to be run in parallel, but doing so leads to random 224b40bdbdSAlan Somers# panics. I think it's because the kernel's list of interfaces isn't properly 234b40bdbdSAlan Somers# locked. 244b40bdbdSAlan SomersTEST_METADATA+= is_exclusive=true 254b40bdbdSAlan Somers 264ae3a97eSKristof Provost${PACKAGE}FILES+= \ 273e87f800SKristof Provost dhclient_pcp.conf \ 283e87f800SKristof Provost pcp.py \ 294ae3a97eSKristof Provost stp.py 304ae3a97eSKristof Provost 313e87f800SKristof Provost${PACKAGE}FILESMODE_pcp.py= 0555 324ae3a97eSKristof Provost${PACKAGE}FILESMODE_stp.py= 0555 334ae3a97eSKristof Provost 344b40bdbdSAlan SomersMAN= 355458a63bSKristof ProvostPROGS+= randsleep 364b40bdbdSAlan Somers 378ccf5032SOlivier CochardCFLAGS+= -I${.CURDIR:H:H} 388ccf5032SOlivier Cochard 394b40bdbdSAlan Somers.include <bsd.test.mk> 40