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 12095aabf7SKristof ProvostATF_TESTS_SH+= if_lagg_test 133846e575SKristof ProvostATF_TESTS_SH+= if_tun_test 14fcd69db2SKristof ProvostATF_TESTS_SH+= if_vlan 154b40bdbdSAlan Somers 16775dc861SAlexander V. ChernikovTESTS_SUBDIRS+= routing 17775dc861SAlexander V. Chernikov 184b40bdbdSAlan Somers# The tests are written to be run in parallel, but doing so leads to random 194b40bdbdSAlan Somers# panics. I think it's because the kernel's list of interfaces isn't properly 204b40bdbdSAlan Somers# locked. 214b40bdbdSAlan SomersTEST_METADATA+= is_exclusive=true 224b40bdbdSAlan Somers 234ae3a97eSKristof Provost${PACKAGE}FILES+= \ 24*3e87f800SKristof Provost dhclient_pcp.conf \ 25*3e87f800SKristof Provost pcp.py \ 264ae3a97eSKristof Provost stp.py 274ae3a97eSKristof Provost 28*3e87f800SKristof Provost${PACKAGE}FILESMODE_pcp.py= 0555 294ae3a97eSKristof Provost${PACKAGE}FILESMODE_stp.py= 0555 304ae3a97eSKristof Provost 314b40bdbdSAlan SomersMAN= 325458a63bSKristof ProvostPROGS+= randsleep 334b40bdbdSAlan Somers 348ccf5032SOlivier CochardCFLAGS+= -I${.CURDIR:H:H} 358ccf5032SOlivier Cochard 364b40bdbdSAlan Somers.include <bsd.test.mk> 37