X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=tests%2Finstrumented.sh;h=5156e02f4a05483b77759d57b16dea4804055cfb;hp=eb70466fc24f52ef86b1ba0b792804d14cd2c554;hb=d2acdac1012cfbd8563fbe70157b2adbb05b2002;hpb=70880b8e247c94d0a16a2fb50b41827726e00742 diff --git a/tests/instrumented.sh b/tests/instrumented.sh index eb70466f..5156e02f 100755 --- a/tests/instrumented.sh +++ b/tests/instrumented.sh @@ -28,14 +28,14 @@ case $1 in echo "sanitizer-undefined testing started" prefix='!' exeprefix='' - postfix='2>&1 | grep "runtime error:"' + postfix='2>&1 | grep -A50 "runtime error:"' threads="1" ;; --sanitizer-thread) echo "sanitizer-thread testing started" prefix='!' exeprefix='' - postfix='2>&1 | grep "WARNING: ThreadSanitizer:"' + postfix='2>&1 | grep -A50 "WARNING: ThreadSanitizer:"' threads="2" cat << EOF > tsan.supp