]> git.ipfire.org Git - people/sennis/libloc.git/commitdiff
12311 Add valgrind call to makefile run with make valgrind, creates reports for each...
authorSimon <simon.ennis@ipfire.org>
Thu, 26 Mar 2020 23:00:42 +0000 (23:00 +0000)
committerSimon <simon.ennis@ipfire.org>
Thu, 26 Mar 2020 23:00:42 +0000 (23:00 +0000)
Makefile.am

index b165c74e80bebd7d2fb7fe17f712cdc502760d7a..e07989aba17de7a19ba50a5bfc40990bb53e17e9 100644 (file)
@@ -235,7 +235,13 @@ valgrind:
        $(MAKE) $(check_PROGRAMS)
 #      Run valgrind produce output.
        LDFLAGS+=-L$(builddir)/src/.libs
-       valgrind --tool=memcheck --leak-check=full --show-leak-kinds=definite --log-file=libloc_valgrind_report ./src/test-database
+       valgrind --tool=memcheck --leak-check=full --show-leak-kinds=definite --log-file=test-libloc_valgrind_report ./src/test-libloc
+       valgrind --tool=memcheck --leak-check=full --show-leak-kinds=definite --log-file=test-database_valgrind_report ./src/test-database
+       valgrind --tool=memcheck --leak-check=full --show-leak-kinds=all --log-file=test-network_valgrind_report ./src/test-network
+#      valgrind --tool=memcheck --leak-check=full --show-leak-kinds=definite --log-file=test-signature_valgrind_report ./src/test-signature
+       valgrind --tool=memcheck --leak-check=full --show-leak-kinds=all --log-file=test-stringpool_valgrind_report ./src/test-stringpool
+       valgrind --tool=memcheck --leak-check=full --show-leak-kinds=definite --log-file=test-country_valgrind_report ./src/test-country
+       valgrind --tool=memcheck --leak-check=full --show-leak-kinds=all --log-file=test-as_valgrind_report ./src/test-as
 
 bin_SCRIPTS = \
        src/python/location-downloader \