Enable Valgrind support in the API suite

It was accidentally left out when the test system was refactored.
This commit is contained in:
Petri Lehtinen
2010-01-10 16:18:45 +02:00
parent 508873de9b
commit b21f07b35c
2 changed files with 7 additions and 1 deletions

View File

@@ -8,7 +8,10 @@
VALGRIND_CMDLINE="valgrind --leak-check=full --show-reachable=yes --track-origins=yes -q"
if [ $VALGRIND -eq 1 ]; then
test_runner="$VALGRIND_CMDLINE"
json_process="$VALGRIND_CMDLINE $json_process"
else
test_runner=""
fi
valgrind_check() {