blob: 5c24d41186acc93e5d290a4426e0c9dc3028948e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
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}
)
|