14ae3a97eSKristof ProvostPACKAGE= tests 24b40bdbdSAlan Somers 34b40bdbdSAlan SomersTESTSDIR= ${TESTSBASE}/sys/net 44b40bdbdSAlan SomersBINDIR= ${TESTSDIR} 54b40bdbdSAlan Somers 6095aabf7SKristof ProvostATF_TESTS_C+= if_epair 7d116b843SKristof ProvostATF_TESTS_SH+= if_epair_test 8095aabf7SKristof ProvostATF_TESTS_SH+= if_bridge_test 9f464bd04SEdward Tomasz NapieralaTEST_METADATA.if_bridge_test+= required_programs="python" 104b40bdbdSAlan SomersATF_TESTS_SH+= if_clone_test 116e0755b3SKristof ProvostATF_TESTS_SH+= if_gif 12095aabf7SKristof ProvostATF_TESTS_SH+= if_lagg_test 13eb5e0755SKristof ProvostATF_TESTS_SH+= if_stf 143846e575SKristof ProvostATF_TESTS_SH+= if_tun_test 15fcd69db2SKristof ProvostATF_TESTS_SH+= if_vlan 168fb97396SJohn BaldwinATF_TESTS_SH+= if_wg 174b40bdbdSAlan Somers 18067acae2SKristof ProvostTESTS_SUBDIRS+= if_ovpn 19775dc861SAlexander V. ChernikovTESTS_SUBDIRS+= routing 20775dc861SAlexander V. Chernikov 21*c0f13232SMark Johnston# The netmap bridge application is used by if_wg tests. 22*c0f13232SMark Johnston.PATH: ${SRCTOP}/tools/tools/netmap 23*c0f13232SMark JohnstonPROGS+= bridge 24*c0f13232SMark JohnstonLIBADD.bridge+= netmap 25*c0f13232SMark Johnston 264b40bdbdSAlan Somers# The tests are written to be run in parallel, but doing so leads to random 274b40bdbdSAlan Somers# panics. I think it's because the kernel's list of interfaces isn't properly 284b40bdbdSAlan Somers# locked. 294b40bdbdSAlan SomersTEST_METADATA+= is_exclusive=true 304b40bdbdSAlan Somers 314ae3a97eSKristof Provost${PACKAGE}FILES+= \ 323e87f800SKristof Provost dhclient_pcp.conf \ 333e87f800SKristof Provost pcp.py \ 344ae3a97eSKristof Provost stp.py 354ae3a97eSKristof Provost 363e87f800SKristof Provost${PACKAGE}FILESMODE_pcp.py= 0555 374ae3a97eSKristof Provost${PACKAGE}FILESMODE_stp.py= 0555 384ae3a97eSKristof Provost 394b40bdbdSAlan SomersMAN= 405458a63bSKristof ProvostPROGS+= randsleep 414b40bdbdSAlan Somers 428ccf5032SOlivier CochardCFLAGS+= -I${.CURDIR:H:H} 438ccf5032SOlivier Cochard 444b40bdbdSAlan Somers.include <bsd.test.mk> 45