From 9e1cfca7e1fe9cf8edb634fc894e43993e4da1ea Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Thu, 26 Feb 2015 20:32:58 -0800 Subject: [PATCH] create OBJ/valgrind-out before running unittests --- regress/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/regress/Makefile b/regress/Makefile index 7005b410d..13e3fc8ab 100644 --- a/regress/Makefile +++ b/regress/Makefile @@ -1,11 +1,14 @@ # $OpenBSD: Makefile,v 1.78 2015/01/26 06:12:18 djm Exp $ REGRESS_TARGETS= unit t1 t2 t3 t4 t5 t6 t7 t8 t9 t10 t11 t12 t-exec -tests: $(REGRESS_TARGETS) +tests: prep $(REGRESS_TARGETS) # Interop tests are not run by default interop interop-tests: t-exec-interop +prep: + test "x${USE_VALGRIND}" != "x" && mkdir -p $(OBJ)/valgrind-out + clean: for F in $(CLEANFILES); do rm -f $(OBJ)$$F; done test -z "${SUDO}" || ${SUDO} rm -f ${SUDO_CLEAN}