]> git.sesse.net Git - stockfish/blobdiff - tests/instrumented.sh
Less king danger if we have a knight near by to defend it. (#1987)
[stockfish] / tests / instrumented.sh
index 137d0e4af2c8ea0a93c3c6975d2118b804363f10..5156e02f4a05483b77759d57b16dea4804055cfb 100755 (executable)
@@ -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
@@ -45,6 +45,7 @@ race:TTEntry::bound
 race:TTEntry::save
 race:TTEntry::value
 race:TTEntry::eval
+race:TTEntry::pv_hit
 
 race:TranspositionTable::probe
 race:TranspositionTable::hashfull