Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dmitry Baryshkov
nettle
Commits
4404dc6d
Commit
4404dc6d
authored
Sep 20, 2012
by
Niels Möller
Browse files
New convenience make variable VALGRIND.
parent
75b7234d
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
4404dc6d
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.
...
...
testsuite/Makefile.in
View file @
4404dc6d
...
...
@@ -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)
"
\
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment