blob: 1192fea92ff9d9150f8f67b0b64ed550691d7825 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
# $OpenBSD: Makefile,v 1.15 2022/05/31 09:50:26 claudio Exp $
REGRESS_TARGETS = network_statement md5 ovs mrt \
maxprefix maxprefixout maxcomm \
as0 med eval_all
BGPD ?= /usr/sbin/bgpd
CLEANFILES += *.mrt *.out *.conf *.log *.fifo api-exabgp*
api-exabgp: api-exabgp.c
network_statement:
${SUDO} ksh ${.CURDIR}/$@.sh ${BGPD} ${.CURDIR} 11 12 pair11 pair12
md5:
${SUDO} ksh ${.CURDIR}/$@.sh ${BGPD} ${.CURDIR} 11 12 pair11 pair12
ovs:
${SUDO} ksh ${.CURDIR}/$@.sh ${BGPD} ${.CURDIR} 11 12 pair11 pair12
mrt:
${SUDO} ksh ${.CURDIR}/$@.sh ${BGPD} ${.CURDIR} 11
maxprefix:
${SUDO} ksh ${.CURDIR}/$@.sh ${BGPD} ${.CURDIR} 11 12 pair11 pair12
maxprefixout:
${SUDO} ksh ${.CURDIR}/$@.sh ${BGPD} ${.CURDIR} 11 12 pair11 pair12
maxcomm:
${SUDO} ksh ${.CURDIR}/$@.sh ${BGPD} ${.CURDIR} 11 12 pair11 pair12
.if ! exists(/usr/local/bin/exabgp)
as0:
# install exabgp from ports for additional tests
@echo SKIPPED
med:
# install exabgp from ports for additional tests
@echo SKIPPED
eval_all:
# install exabgp from ports for additional tests
@echo SKIPPED
.else
.SUFFIXES: .conf .in
.in.conf:
sed -e 's|##OBJDIR##|${.OBJDIR}|g' \
${.IMPSRC} > ${.TARGET} || \
(rm ${.TARGET} && exit 1)
as0: api-exabgp exabgp.as0.test1.conf exabgp.as0.test2.conf
${SUDO} ksh ${.CURDIR}/$@.sh ${BGPD} ${.CURDIR} 11 12 pair11 pair12
med: api-exabgp exabgp.med.conf
${SUDO} ksh ${.CURDIR}/$@.sh ${BGPD} ${.CURDIR} 11 12 pair11 pair12
eval_all: api-exabgp exabgp.eval_all.conf
${SUDO} ksh ${.CURDIR}/$@.sh ${BGPD} ${.CURDIR} 11 12 pair11 pair12
.endif
.include <bsd.regress.mk>
|