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 12*6e0755b3SKristof ProvostATF_TESTS_SH+= if_gif 13095aabf7SKristof ProvostATF_TESTS_SH+= if_lagg_test 143846e575SKristof ProvostATF_TESTS_SH+= if_tun_test 15fcd69db2SKristof ProvostATF_TESTS_SH+= if_vlan 164b40bdbdSAlan Somers 17775dc861SAlexander V. ChernikovTESTS_SUBDIRS+= routing 18775dc861SAlexander V. Chernikov 194b40bdbdSAlan Somers# The tests are written to be run in parallel, but doing so leads to random 204b40bdbdSAlan Somers# panics. I think it's because the kernel's list of interfaces isn't properly 214b40bdbdSAlan Somers# locked. 224b40bdbdSAlan SomersTEST_METADATA+= is_exclusive=true 234b40bdbdSAlan Somers 244ae3a97eSKristof Provost${PACKAGE}FILES+= \ 253e87f800SKristof Provost dhclient_pcp.conf \ 263e87f800SKristof Provost pcp.py \ 274ae3a97eSKristof Provost stp.py 284ae3a97eSKristof Provost 293e87f800SKristof Provost${PACKAGE}FILESMODE_pcp.py= 0555 304ae3a97eSKristof Provost${PACKAGE}FILESMODE_stp.py= 0555 314ae3a97eSKristof Provost 324b40bdbdSAlan SomersMAN= 335458a63bSKristof ProvostPROGS+= randsleep 344b40bdbdSAlan Somers 358ccf5032SOlivier CochardCFLAGS+= -I${.CURDIR:H:H} 368ccf5032SOlivier Cochard 374b40bdbdSAlan Somers.include <bsd.test.mk> 38