Remove useless initializations (#2115)
[stockfish] / tests / instrumented.sh
index eb70466fc24f52ef86b1ba0b792804d14cd2c554..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,7 +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::pv_hit
+race:TTEntry::is_pv
 
 race:TranspositionTable::probe
 race:TranspositionTable::hashfull
 
 race:TranspositionTable::probe
 race:TranspositionTable::hashfull