perft-test: improve displayed info, add selective tests

- print total #tests, #tests to do and VERSION string
- add starting point for tests, and #tests to run
This commit is contained in:
2024-09-11 08:09:40 +02:00
parent 7e65fbc205
commit 9dd7c7064d
3 changed files with 34 additions and 9 deletions

View File

@@ -451,7 +451,12 @@ struct fentest {
static int fentest_cur = -1;
static char *next_fen(uint module)
static __unused void restart_fen(void)
{
fentest_cur = -1;
}
static __unused char *next_fen(uint module)
{
fentest_cur++;