projects
/
stockfish
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Double weight of capture history
[stockfish]
/
tests
/
perft.sh
diff --git
a/tests/perft.sh
b/tests/perft.sh
index f3d5b88bf27ed95580fc7eacc5f241a95544edcd..d4022211607a8617e3ddb6afe5da2c1a73088be2 100755
(executable)
--- a/
tests/perft.sh
+++ b/
tests/perft.sh
@@
-14,8
+14,8
@@
cat << EOF > perft.exp
set timeout 10
lassign \$argv pos depth result
spawn ./stockfish
set timeout 10
lassign \$argv pos depth result
spawn ./stockfish
- send "position \$pos\\n perft \$depth\\n"
- expect "Nodes searched
? \$result" {} timeout {exit 1}
+ send "position \$pos\\n
go
perft \$depth\\n"
+ expect "Nodes searched? \$result" {} timeout {exit 1}
send "quit\\n"
expect eof
EOF
send "quit\\n"
expect eof
EOF