bad8f86843
Some tests share names for netgraph nodes, so they cannot be run in parallel. MFC after: 1 week
28 lines
547 B
Makefile
28 lines
547 B
Makefile
# $FreeBSD$
|
|
|
|
PACKAGE= tests
|
|
|
|
TESTSDIR= ${TESTSBASE}/sys/netgraph
|
|
BINDIR= ${TESTSDIR}
|
|
|
|
TAP_TESTS_SH+= ng_macfilter_test
|
|
|
|
# Serialize tests since some share netgraph node names.
|
|
TEST_METADATA+= is_exclusive=true
|
|
TEST_METADATA.ng_macfilter_test+= required_user="root"
|
|
TEST_METADATA.ng_macfilter_test+= required_programs="perl"
|
|
|
|
ATF_TESTS_C+= basic \
|
|
bridge \
|
|
hub \
|
|
vlan_rotate \
|
|
|
|
SRCS.basic= basic.c util.c
|
|
SRCS.bridge= bridge.c util.c
|
|
SRCS.hub= hub.c util.c
|
|
SRCS.vlan_rotate=vlan_rotate.c util.c
|
|
|
|
LIBADD+= netgraph
|
|
|
|
.include <bsd.test.mk>
|