Skip to content

Commit

Permalink
Faster travis checks
Browse files Browse the repository at this point in the history
in the last month a couple of timeouts have been seen in travis valgrind testing, leading to undesired false positives. The precise cause of this is unclear: a normal valgrind instrumented run is about 6min, the timeout is 10min. Either there are rare hangs (not reproduced locally), or maybe the actual runtime fluctuates on the travis infrastructure (which uses VMs on AWS as far as I know). This patch leads to roughly a 2x speedup of the instrumented testing by reducing the depth from 10 to 9. If timeouts persist, it needs further analysis.

No functional change.

Closes #1171
  • Loading branch information
vondele authored and zamar committed Jul 24, 2017
1 parent e551afb commit 272e4d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/instrumented.sh
Expand Up @@ -62,7 +62,7 @@ for args in "eval" \
"go depth 10" \
"go movetime 1000" \
"go wtime 8000 btime 8000 winc 500 binc 500" \
"bench 128 $threads 10 default depth"
"bench 128 $threads 9 default depth"
do

echo "$prefix $exeprefix ./stockfish $args $postfix"
Expand Down

0 comments on commit 272e4d1

Please sign in to comment.