Added a "make valgrind" test target

This commit is contained in:
Daniel P. Berrange 2006-08-24 16:00:19 +00:00
parent 441246297e
commit 3c75dc33e4
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,9 @@
Thu Aug 24 11:03:42 EDT 2006 Daniel Berrange <berrange@redhat.com>
* tests/Makefile.am: Added a 'valgrind' target which simply
calls 'make check', but wrapping execution with valgrind to
detect any errors
Thu Aug 24 10:04:02 EDT 2006 Daniel Berrange <berrange@redhat.com>
* tests/xml2sexpr.c, tests/sexpr2xml.c: New tests suites for

View File

@ -20,6 +20,9 @@ noinst_PROGRAMS = xmlrpctest xml2sexprtest sexpr2xmltest
TESTS = xml2sexprtest sexpr2xmltest
valgrind:
$(MAKE) check TESTS_ENVIRONMENT="valgrind --quiet"
# Note: xmlrpc.[c|h] is not in libvirt yet
xmlrpctest_SOURCES = \
xmlrpctest.c \