Adds scripts to call the tests using valgrind

This commit is contained in:
Felipe Zimmerle 2015-09-15 16:48:26 -03:00
parent b1e845211c
commit 530b158315
3 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,4 @@
#!/usr/bin/env bash
valgrind --tool=massif
valgrind --show-leak-kinds=all --leak-check=full ./test

View File

@ -0,0 +1,4 @@
#!/usr/bin/env bash
valgrind --tool=massif ./regression-tests $*
valgrind --leak-check=full --suppressions=./valgrind_suppressions.txt ./regression-tests $*

4
test/unit-tests-valgrind.sh Executable file
View File

@ -0,0 +1,4 @@
#!/usr/bin/env bash
valgrind --tool=massif ./unit-tests $*
valgrind --leak-check=full --suppressions=./valgrind_suppressions.txt ./unit-tests $*