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 14*eb5e0755SKristof ProvostATF_TESTS_SH+= if_stf 153846e575SKristof ProvostATF_TESTS_SH+= if_tun_test 16fcd69db2SKristof ProvostATF_TESTS_SH+= if_vlan 174b40bdbdSAlan Somers 18775dc861SAlexander V. ChernikovTESTS_SUBDIRS+= routing 19775dc861SAlexander V. Chernikov 204b40bdbdSAlan Somers# The tests are written to be run in parallel, but doing so leads to random 214b40bdbdSAlan Somers# panics. I think it's because the kernel's list of interfaces isn't properly 224b40bdbdSAlan Somers# locked. 234b40bdbdSAlan SomersTEST_METADATA+= is_exclusive=true 244b40bdbdSAlan Somers 254ae3a97eSKristof Provost${PACKAGE}FILES+= \ 263e87f800SKristof Provost dhclient_pcp.conf \ 273e87f800SKristof Provost pcp.py \ 284ae3a97eSKristof Provost stp.py 294ae3a97eSKristof Provost 303e87f800SKristof Provost${PACKAGE}FILESMODE_pcp.py= 0555 314ae3a97eSKristof Provost${PACKAGE}FILESMODE_stp.py= 0555 324ae3a97eSKristof Provost 334b40bdbdSAlan SomersMAN= 345458a63bSKristof ProvostPROGS+= randsleep 354b40bdbdSAlan Somers 368ccf5032SOlivier CochardCFLAGS+= -I${.CURDIR:H:H} 378ccf5032SOlivier Cochard 384b40bdbdSAlan Somers.include <bsd.test.mk> 39