From 3ca8d8b179f6a9da734cbc0faaed62ff6285fde0 Mon Sep 17 00:00:00 2001 From: Oliver Hamlet Date: Wed, 4 Sep 2024 17:40:00 +0100 Subject: [PATCH] Increase test discovery timeout When running test discovery through Wine the executable startup is very slow, so it can take longer than the default 5 second timeout. --- cmake/tests.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/tests.cmake b/cmake/tests.cmake index b5cd4122..ec92db46 100644 --- a/cmake/tests.cmake +++ b/cmake/tests.cmake @@ -127,8 +127,8 @@ add_dependencies(libloot_tests loot) target_link_libraries(libloot_tests PRIVATE loot Boost::headers GTest::gtest_main) enable_testing() -gtest_discover_tests(libloot_internals_tests) -gtest_discover_tests(libloot_tests) +gtest_discover_tests(libloot_internals_tests DISCOVERY_TIMEOUT 10) +gtest_discover_tests(libloot_tests DISCOVERY_TIMEOUT 10) ############################## # Set Target-Specific Flags