run_test.sh uses valgrind with suppressions

master
Denes Matetelki 14 years ago
parent 1fe8027efe
commit 1ec5fb1466

@ -10,7 +10,8 @@ lcov --directory . -z
rm -f ./lcov.info
echo -e "${pre}Run tests${post}"
$1
valgrind --leak-check=full --show-reachable=yes --show-below-main=no --track-origins=yes --num-callers=30 --malloc-fill=0xaa --free-fill=0xdd --suppressions=valgrind.supp $1
echo -e "${pre}Capture coverage info${post}"
lcov --directory ../build --capture -o lcov.info

@ -1,9 +1,4 @@
#include <cxxtest/TestSuite.h>
/*
#include <signal.h>
#include <stdlib.h>
#include <string.h>*/
#include "ThreadPool.hpp"
#include "Task.hpp"

@ -0,0 +1,50 @@
{
Conditional jump blabla
Memcheck:Cond
fun:_dl_relocate_object
fun:dl_main
fun:_dl_sysdep_start
fun:_dl_start
obj:/lib64/ld-2.13.so
}
{
Conditional jump blabla
Memcheck:Cond
fun:_dl_relocate_object
fun:dl_main
fun:_dl_sysdep_start
fun:_dl_start
obj:/lib64/ld-2.13.so
}
{
Conditional jump blabla
Memcheck:Cond
fun:_dl_relocate_object
fun:dl_main
fun:_dl_sysdep_start
fun:_dl_start
obj:/lib64/ld-2.13.so
}
{
Conditional jump blabla
Memcheck:Cond
fun:_dl_relocate_object
fun:dl_main
fun:_dl_sysdep_start
fun:_dl_start
obj:/lib64/ld-2.13.so
}
{
pthread create stuff
Memcheck:Leak
fun:calloc
fun:_dl_allocate_tls
fun:pthread_create@@GLIBC_2.2.5
fun:_ZN6Thread5startEv
fun:_ZN10ThreadPool18startWorkerThreadsEv
fun:main
}
Loading…
Cancel
Save