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 9*d116b843SKristof ProvostATF_TESTS_SH+= if_epair_test 10095aabf7SKristof ProvostATF_TESTS_SH+= if_bridge_test 11f464bd04SEdward Tomasz NapieralaTEST_METADATA.if_bridge_test+= required_programs="python" 124b40bdbdSAlan SomersATF_TESTS_SH+= if_clone_test 136e0755b3SKristof ProvostATF_TESTS_SH+= if_gif 14095aabf7SKristof ProvostATF_TESTS_SH+= if_lagg_test 15eb5e0755SKristof ProvostATF_TESTS_SH+= if_stf 163846e575SKristof ProvostATF_TESTS_SH+= if_tun_test 17fcd69db2SKristof ProvostATF_TESTS_SH+= if_vlan 188fb97396SJohn BaldwinATF_TESTS_SH+= if_wg 194b40bdbdSAlan Somers 20067acae2SKristof ProvostTESTS_SUBDIRS+= if_ovpn 21775dc861SAlexander V. ChernikovTESTS_SUBDIRS+= routing 22775dc861SAlexander V. Chernikov 234b40bdbdSAlan Somers# The tests are written to be run in parallel, but doing so leads to random 244b40bdbdSAlan Somers# panics. I think it's because the kernel's list of interfaces isn't properly 254b40bdbdSAlan Somers# locked. 264b40bdbdSAlan SomersTEST_METADATA+= is_exclusive=true 274b40bdbdSAlan Somers 284ae3a97eSKristof Provost${PACKAGE}FILES+= \ 293e87f800SKristof Provost dhclient_pcp.conf \ 303e87f800SKristof Provost pcp.py \ 314ae3a97eSKristof Provost stp.py 324ae3a97eSKristof Provost 333e87f800SKristof Provost${PACKAGE}FILESMODE_pcp.py= 0555 344ae3a97eSKristof Provost${PACKAGE}FILESMODE_stp.py= 0555 354ae3a97eSKristof Provost 364b40bdbdSAlan SomersMAN= 375458a63bSKristof ProvostPROGS+= randsleep 384b40bdbdSAlan Somers 398ccf5032SOlivier CochardCFLAGS+= -I${.CURDIR:H:H} 408ccf5032SOlivier Cochard 414b40bdbdSAlan Somers.include <bsd.test.mk> 42