[openssh-commits] [openssh] 01/02: create OBJ/valgrind-out before running unittests

git+noreply at mindrot.org git+noreply at mindrot.org
Fri Feb 27 15:34:22 AEDT 2015


This is an automated email from the git hooks/post-receive script.

djm pushed a commit to branch master
in repository openssh.

commit 9e1cfca7e1fe9cf8edb634fc894e43993e4da1ea
Author: Damien Miller <djm at mindrot.org>
Date:   Thu Feb 26 20:32:58 2015 -0800

    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 7005b41..13e3fc8 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}

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list