You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cmake/Tests/RunCMake/GoogleTest/GoogleTestDiscoveryTimeout....

17 lines
401 B

enable_language(CXX)
include(GoogleTest)
enable_testing()
include(xcode_sign_adhoc.cmake)
add_executable(discovery_timeout_test timeout_test.cpp)
xcode_sign_adhoc(discovery_timeout_test)
target_compile_definitions(discovery_timeout_test PRIVATE discoverySleepSec=10)
gtest_discover_tests(
discovery_timeout_test
TEST_PREFIX discovery_
DISCOVERY_TIMEOUT 2
DISCOVERY_MODE ${DISCOVERY_MODE}
)