build: raise gtest discovery timeout to 60s

Freshly linked binaries can exceed the 5s default on first run
(dyld cold cache + Qt/OCIO init).
This commit is contained in:
2026-08-01 19:14:31 +08:00
parent a4dfc62f0f
commit 8399d04b44
+3 -1
View File
@@ -287,7 +287,9 @@ if (BUILD_TESTS)
if (UNIX AND NOT APPLE)
target_link_options(${name} PRIVATE "LINKER:--export-dynamic")
endif ()
gtest_discover_tests(${name})
# Freshly linked binaries can exceed the 5s default discovery
# timeout on first run (dyld cold cache + Qt/OCIO init)
gtest_discover_tests(${name} DISCOVERY_TIMEOUT 60)
endfunction()
make_oakengine_gtest(oakengine_ipc_test)