blob: b52ca21416f7fa4c4fcc201c3f9c8593200aa380 (
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
|
# $OpenBSD: Makefile,v 1.3 2017/11/11 02:54:42 mlarkin Exp $
VMD ?= /usr/sbin/vmd
VMD_PASS=boot-keyword memory-round memory-just-enough
VMD_FAIL=kernel-keyword too-few-ram vm-name-too-long too-many-ifs \
boot-name-too-long disk-path-too-long too-many-disks \
switch-no-interface switch-no-add
REGRESS_TARGETS=
.for n in ${VMD_PASS}
REGRESS_TARGETS += vmd-pass-${n}
vmd-pass-${n}:
@echo '======== $@ ========'
${VMD} -n -f ${.CURDIR}/vmd-pass-${n}.conf 2>&1 | \
diff -u ${.CURDIR}/vmd-pass-${n}.ok /dev/stdin
.endfor
.for n in ${VMD_FAIL}
REGRESS_TARGETS += vmd-fail-${n}
vmd-fail-${n}:
@echo '======== $@ ========'
${VMD} -n -f ${.CURDIR}/vmd-fail-${n}.conf 2>&1 | \
cut -d : -f 2,3,4 | \
diff -u ${.CURDIR}/vmd-fail-${n}.ok /dev/stdin
.endfor
.PHONY: ${REGRESS_TARGETS}
.include <bsd.regress.mk>
|