]> git.sesse.net Git - stockfish/blobdiff - tests/perft.sh
Cleanup KBPsK endgame
[stockfish] / tests / perft.sh
index f3d5b88bf27ed95580fc7eacc5f241a95544edcd..545e750fec037142c82ae110b93583a32a906a24 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/bash
 #!/bin/bash
-# verify perft numbers (positions from https://chessprogramming.wikispaces.com/Perft+Results)
+# verify perft numbers (positions from www.chessprogramming.org/Perft_Results)
 
 error()
 {
 
 error()
 {
@@ -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\\ngo perft \$depth\\n"
+   expect "Nodes searched? \$result" {} timeout {exit 1}
    send "quit\\n"
    expect eof
 EOF
    send "quit\\n"
    expect eof
 EOF