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 17*8fb97396SJohn BaldwinATF_TESTS_SH+= if_wg 184b40bdbdSAlan Somers 19067acae2SKristof ProvostTESTS_SUBDIRS+= if_ovpn 20775dc861SAlexander V. ChernikovTESTS_SUBDIRS+= routing 21775dc861SAlexander V. Chernikov 224b40bdbdSAlan Somers# The tests are written to be run in parallel, but doing so leads to random 234b40bdbdSAlan Somers# panics. I think it's because the kernel's list of interfaces isn't properly 244b40bdbdSAlan Somers# locked. 254b40bdbdSAlan SomersTEST_METADATA+= is_exclusive=true 264b40bdbdSAlan Somers 274ae3a97eSKristof Provost${PACKAGE}FILES+= \ 283e87f800SKristof Provost dhclient_pcp.conf \ 293e87f800SKristof Provost pcp.py \ 304ae3a97eSKristof Provost stp.py 314ae3a97eSKristof Provost 323e87f800SKristof Provost${PACKAGE}FILESMODE_pcp.py= 0555 334ae3a97eSKristof Provost${PACKAGE}FILESMODE_stp.py= 0555 344ae3a97eSKristof Provost 354b40bdbdSAlan SomersMAN= 365458a63bSKristof ProvostPROGS+= randsleep 374b40bdbdSAlan Somers 388ccf5032SOlivier CochardCFLAGS+= -I${.CURDIR:H:H} 398ccf5032SOlivier Cochard 404b40bdbdSAlan Somers.include <bsd.test.mk> 41