Adding valgrind's memcheck support in mem-heap. Adding valgrind's headers valgrind.h and memcheck.h to third-party/valgrind directory.

This commit is contained in:
Ruben Ayrapetyan
2014-08-01 18:22:34 +04:00
parent 806b4828af
commit e1c57dc231
6 changed files with 4511 additions and 46 deletions
+6 -2
View File
@@ -24,8 +24,12 @@ for unit_test in $UNITTESTS;
do
echo -n "Running $unit_test... ";
$DIR/$unit_test 2>&1 >> $DIR/unit_tests_run.log;
if [ $? -eq 0 ];
$VALGRIND $DIR/$unit_test >&$DIR/unit_tests_run.log.tmp;
status_code=$?
cat $DIR/unit_tests_run.log.tmp >> $DIR/unit_tests_run.log
rm $DIR/unit_tests_run.log.tmp
if [ $status_code -eq 0 ];
then
echo OK;
else