]> git.sesse.net Git - stockfish/blobdiff - tests/instrumented.sh
Extend bench to static evaluations
[stockfish] / tests / instrumented.sh
index 137d0e4af2c8ea0a93c3c6975d2118b804363f10..ae6d5c4b905f2e79464a1a36c45ddc72a323a184 100755 (executable)
@@ -28,14 +28,14 @@ case $1 in
     echo "sanitizer-undefined testing started"
     prefix='!'
     exeprefix=''
     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=''
     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
     threads="2"
 
 cat << EOF > tsan.supp
@@ -45,6 +45,7 @@ race:TTEntry::bound
 race:TTEntry::save
 race:TTEntry::value
 race:TTEntry::eval
 race:TTEntry::save
 race:TTEntry::value
 race:TTEntry::eval
+race:TTEntry::is_pv
 
 race:TranspositionTable::probe
 race:TranspositionTable::hashfull
 
 race:TranspositionTable::probe
 race:TranspositionTable::hashfull