X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=tests%2Finstrumented.sh;h=2cae793cdf2d957b2d41f390c3cec4a67029fca1;hp=878d6cb05739a556445babc7c40a26a93530cc81;hb=69067e1988ea945977d586a1442a22be0b55671a;hpb=4d511512d2a74d60917bc1a749c3b35eb143118b diff --git a/tests/instrumented.sh b/tests/instrumented.sh index 878d6cb0..2cae793c 100755 --- a/tests/instrumented.sh +++ b/tests/instrumented.sh @@ -17,15 +17,22 @@ case $1 in 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:"'