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.
2 parents caa9e80 + 46e58c9 commit fe86c9eCopy full SHA for fe86c9e
1 file changed
CMakeLists.txt
@@ -75,7 +75,10 @@ set(CMAKE_CXX_EXTENSIONS OFF)
75
76
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
77
78
-set_property(DIRECTORY PROPERTY TEST_DISCOVERY_TIMEOUT 60)
+# Defer GoogleTest case discovery from build time (POST_BUILD default, which
79
+# execs each test binary during the build) to ctest time. On a loaded CI host
80
+# the build-time discovery run can exceed the timeout and fail the whole build.
81
+set(CMAKE_GTEST_DISCOVER_TESTS_DISCOVERY_MODE PRE_TEST)
82
83
# Get version string in OPENROAD_VERSION
84
if(NOT OPENROAD_VERSION)
0 commit comments