postfix='1>/dev/null'
threads="1"
;;
+ --valgrind-thread)
+ echo "valgrind-thread testing started"
+ prefix=''
+ exeprefix='valgrind --error-exitcode=42'
+ postfix='1>/dev/null'
+ threads="2"
+ ;;
--sanitizer-undefined)
- echo "sanitizer testing started"
+ echo "sanitizer-undefined testing started"
prefix='!'
exeprefix=''
postfix='2>&1 | grep "runtime error:"'
threads="1"
;;
--sanitizer-thread)
- echo "sanitizer testing started"
+ echo "sanitizer-thread testing started"
prefix='!'
exeprefix=''
postfix='2>&1 | grep "WARNING: ThreadSanitizer:"'
"go depth 10" \
"go movetime 1000" \
"go wtime 8000 btime 8000 winc 500 binc 500" \
- "bench 128 $threads 9 default depth"
+ "bench 128 $threads 10 default depth"
do
echo "$prefix $exeprefix ./stockfish $args $postfix"