Commit 50b03741 authored by Leif Walsh's avatar Leif Walsh Committed by Yoni Fogel

refs #5368 add some osx specific suppressions to the suppressions file, and...

refs #5368 add some osx specific suppressions to the suppressions file, and also to tokuvalgrind because things are a little rocky on osx these days

git-svn-id: file:///svn/toku/tokudb@48125 c7de825b-a66e-492c-adef-691d508d4ae1
parent 43e1715e
...@@ -154,21 +154,18 @@ ...@@ -154,21 +154,18 @@
Memcheck:Leak Memcheck:Leak
... ...
obj:/usr/lib/dyld obj:/usr/lib/dyld
...
} }
{ {
dyld_on_OSX dyld_on_OSX
Memcheck:Value8 Memcheck:Value8
... ...
obj:/usr/lib/dyld obj:/usr/lib/dyld
...
} }
{ {
dyld_on_OSX dyld_on_OSX
Memcheck:Cond Memcheck:Cond
... ...
obj:/usr/lib/dyld obj:/usr/lib/dyld
...
} }
{ {
ctime_on_OSX ctime_on_OSX
...@@ -177,7 +174,6 @@ ...@@ -177,7 +174,6 @@
obj:/usr/lib/system/libsystem_c.dylib obj:/usr/lib/system/libsystem_c.dylib
... ...
fun:asctime_r fun:asctime_r
...
} }
{ {
ctime_on_OSX ctime_on_OSX
...@@ -186,7 +182,6 @@ ...@@ -186,7 +182,6 @@
obj:/usr/lib/system/libsystem_c.dylib obj:/usr/lib/system/libsystem_c.dylib
... ...
fun:ctime fun:ctime
...
} }
{ {
pthread_join_on_OSX pthread_join_on_OSX
...@@ -194,5 +189,33 @@ ...@@ -194,5 +189,33 @@
... ...
obj:/usr/lib/system/libsystem_c.dylib obj:/usr/lib/system/libsystem_c.dylib
fun:pthread_join fun:pthread_join
}
{
pthread_start_on_OSX
Memcheck:Leak
...
fun:_pthread_start
obj:/usr/lib/system/libsystem_c.dylib
}
{
printf_etc_on_OSX
Memcheck:Leak
...
fun:__dtoa
...
obj:/usr/lib/system/libsystem_c.dylib
}
{
printf_etc_on_OSX
Memcheck:Leak
...
fun:__smakebuf
...
obj:/usr/lib/system/libsystem_c.dylib
}
{
popen_on_OSX
Memcheck:Leak
... ...
fun:popen$DARWIN_EXTSN
} }
...@@ -38,7 +38,8 @@ fi ...@@ -38,7 +38,8 @@ fi
valgrind $args valgrind $args
exitcode=$? exitcode=$?
if [ $exitcode = 0 ] ; then if [ $exitcode = 0 ] ; then
lines=`cat $logfile | wc -l` # ignore "empty" valgrind lines, and ignore the warning about not running well on OSX 10.8 that start with WARNING:
lines=`grep -v '==\ WARNING:\ ' $logfile | grep -v '--[0-9]\+:[0-9]\+:syswrap-\ WARNING:\ Ignoring\ sigreturn\(\ \.\.\.,\ UC_RESET_ALT_STACK\ \);' | grep -v '^==[0-9]\+==\ $' | grep -v '^$' | grep -v '^UNKNOWN\ task\ message\ \[id\ 3403,\ to\ mach_task_self(),\ reply' | wc -l`
if [ $lines -ne 0 ] ; then if [ $lines -ne 0 ] ; then
exitcode=$errorexitcode exitcode=$errorexitcode
fi fi
...@@ -50,7 +51,3 @@ if [ $createlogfile != 0 ] ; then ...@@ -50,7 +51,3 @@ if [ $createlogfile != 0 ] ; then
fi fi
exit $exitcode exit $exitcode
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment