Commit 4404dc6d authored by Niels Möller's avatar Niels Möller

New convenience make variable VALGRIND.

parent 75b7234d
2012-09-20 Niels Möller <nisse@lysator.liu.se>
* testsuite/Makefile.in (VALGRIND): New variable, to make valgrind
checking easier.
* configure.ac: New substitution IF_CXX, replacing CXX_TESTS.
(dummy-dep-files): Handle .cxx files.
......
......@@ -95,6 +95,13 @@ include $(srcdir)/.test-rules.make
$(TARGETS) $(EXTRA_TARGETS): testutils.$(OBJEXT) ../nettle-internal.$(OBJEXT) \
../libnettle.a @IF_HOGWEED@ ../libhogweed.a
# For use as, e.g.,
#
# make check EMULATOR='$(VALGRIND)'
# make check EMULATOR='$(VALGRIND) --log-fd=3' 3>valgrind.log
VALGRIND = valgrind --error-exitcode=1 --leak-check=full --show-reachable=yes
# The PATH update is for locating dlls on w*ndows.
check: $(TS_ALL)
LD_LIBRARY_PATH=../.lib PATH="../.lib:$$PATH" srcdir="$(srcdir)" \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment