summaryrefslogtreecommitdiff
path: root/regress/Makefile
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2015-02-25 16:58:22 -0800
committerDamien Miller <djm@mindrot.org>2015-02-26 14:55:55 -0800
commitbd58853102cee739f0e115e6d4b5334332ab1442 (patch)
treec214663c1fa4b28cc687faba24183f36085a3141 /regress/Makefile
parentf43d17269194761eded9e89f17456332f4c83824 (diff)
valgrind support
Diffstat (limited to 'regress/Makefile')
-rw-r--r--regress/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/regress/Makefile b/regress/Makefile
index ecc688cab..7005b410d 100644
--- a/regress/Makefile
+++ b/regress/Makefile
@@ -203,11 +203,14 @@ interop: ${INTEROP_TARGETS}
203# Unit tests, built by top-level Makefile 203# Unit tests, built by top-level Makefile
204unit: 204unit:
205 set -e ; if test -z "${SKIP_UNIT}" ; then \ 205 set -e ; if test -z "${SKIP_UNIT}" ; then \
206 ${.OBJDIR}/unittests/sshbuf/test_sshbuf ; \ 206 V="" ; \
207 ${.OBJDIR}/unittests/sshkey/test_sshkey \ 207 test "x${USE_VALGRIND}" != "x" && \
208 V=${.CURDIR}/valgrind-unit.sh ; \
209 $$V ${.OBJDIR}/unittests/sshbuf/test_sshbuf ; \
210 $$V ${.OBJDIR}/unittests/sshkey/test_sshkey \
208 -d ${.CURDIR}/unittests/sshkey/testdata ; \ 211 -d ${.CURDIR}/unittests/sshkey/testdata ; \
209 ${.OBJDIR}/unittests/bitmap/test_bitmap ; \ 212 $$V ${.OBJDIR}/unittests/bitmap/test_bitmap ; \
210 ${.OBJDIR}/unittests/kex/test_kex ; \ 213 $$V ${.OBJDIR}/unittests/kex/test_kex ; \
211 ${.OBJDIR}/unittests/hostkeys/test_hostkeys \ 214 $$V ${.OBJDIR}/unittests/hostkeys/test_hostkeys \
212 -d ${.CURDIR}/unittests/hostkeys/testdata ; \ 215 -d ${.CURDIR}/unittests/hostkeys/testdata ; \
213 fi 216 fi