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

@@ -126,7 +126,7 @@ else # ifeq ($(build),dev)
# fen.c
#CPPFLAGS += -DDEBUG_FEN # FEN decoding
# hash / TT
#CPPFLAGS += -DZOBRIST_VERIFY # double chk zobrist
CPPFLAGS += -DZOBRIST_VERIFY # double chk zobrist
#CPPFLAGS += -DPERFT_MOVE_HISTORY # perft, keep prev moves
# attack.c
#CPPFLAGS += -DDEBUG_ATTACK_ATTACKERS # sq_attackers
@@ -229,16 +229,16 @@ else
all: libs testing $(TARGET)
release:
$(MAKE) BUILD=release clean all
$(MAKE) build=release clean all
dev:
$(MAKE) BUILD=dev clean all
$(MAKE) build=dev clean all
perf:
$(MAKE) BUILD=perf clean all
$(MAKE) build=perf clean all
debug:
$(MAKE) BUILD=debug clean all
$(MAKE) build=debug clean all
compile: brlib objs