We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d8c9b5 commit b8a8052Copy full SHA for b8a8052
tests/perft/CMakeLists.txt
@@ -40,11 +40,15 @@ foreach (data_file IN LISTS testcase_files)
40
)
41
# cmake-format: on
42
43
+ set (test_name "ben_bot.perft.${filename}.${depth}")
44
+
45
add_test (
- NAME "ben_bot.perft.${filename}.${depth}"
46
+ NAME "${test_name}"
47
COMMAND Python::Interpreter "${CMAKE_CURRENT_LIST_DIR}/perft.py" "--test=${data_file}"
48
"--engine=$<TARGET_FILE:ben_bot>" "--depth=${depth}"
49
50
51
+ set_tests_properties ("${test_name}" PROPERTIES RESOURCE_LOCK BenBotPerft)
52
endforeach ()
53
54
set_property (DIRECTORY APPEND PROPERTY CMAKE_CONFIGURE_DEPENDS "${data_file}")
0 commit comments