# $OpenBSD: Makefile,v 1.2 2007/06/05 08:04:24 xsa Exp $ # Regression tests by Niall O'Higgins . # 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