blob: b71063dd74e849042454b3495f80369972b45df3 (
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
|
# $OpenBSD: Makefile,v 1.1 2007/06/05 05:49:41 niallo Exp $
# Regression tests by Niall O'Higgins <niallo@openbsd.org>.
# Based on OpenRCS regression framework.
CVS?= opencvs
DIFF= diff -u
CLEANFILES= regress_cvs_root regress_cvs_wcopy
# XXX - These may need to be done in order.
# (At least start with cvs-initial.)
LTESTS= cvs-initial \
cvs-import \
cvs-checkout-dflag
.for t in ${LTESTS}
REGRESS_TARGETS+=test-${t}
.endfor
test-cvs-initial: clean
@${CVS} -d ${.OBJDIR}/regress_cvs_root init
test-cvs-import:
@cd ${.CURDIR}/import_seed; ${CVS} -Q -d ${.OBJDIR}/regress_cvs_root import -m'import seed repo' seed regress regress_`date +%Y%m%d`
test-cvs-checkout-dflag:
@${CVS} -Q -d ${.OBJDIR}/regress_cvs_root co -d ${.OBJDIR}/regress_cvs_wcopy seed
@test -d ${.OBJDIR}/regress_cvs_wcopy
clean:
@rm -rf ${CLEANFILES}
.include <bsd.regress.mk>
|