Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve Perft Testing #5917

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

xu-shawn
Copy link
Contributor

Added #5909 problematic position and chess-library DFRC positions to perft testing. Additional work done by @Disservin to clean up and improve error reporting.

no functional change

@Disservin
Copy link
Member

ehm you also need to apply this patch

diff --git a/tests/perft.sh b/tests/perft.sh
index b891a2a9..79229506 100755
--- a/tests/perft.sh
+++ b/tests/perft.sh
@@ -17,8 +17,8 @@ EXPECT_SCRIPT=$(mktemp)
 cat << 'EOF' > $EXPECT_SCRIPT
 #!/usr/bin/expect -f
 set timeout 30
-log_file -noappend [lindex $argv 3]
-lassign [lrange $argv 0 3] pos depth result chess960
+lassign [lrange $argv 0 4] pos depth result chess960 logfile
+log_file -noappend $logfile
 spawn ./stockfish
 if {$chess960 == "true"} {
   send "setoption name UCI_Chess960 value true\n"

@Disservin
Copy link
Member

no functional change

Co-authored-by: disservin <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants