From e7761d5a582738904fb3c407a2c8afe8f6cf4637 Mon Sep 17 00:00:00 2001 From: Simone Gasparini Date: Mon, 13 Apr 2026 17:31:31 +0200 Subject: [PATCH] discover test only after build Try to fix ci error on windows --- tests/CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index b8b7d54..ba1bf8e 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -37,5 +37,8 @@ target_compile_features(solid_index_parser_tests PRIVATE ${MY_CXX_FEATURE}) # Register tests with CTest include(GoogleTest) -gtest_discover_tests(solid_index_parser_tests) +gtest_discover_tests(solid_index_parser_tests + DISCOVERY_MODE POST_BUILD + DISCOVERY_TIMEOUT 30 +)