diff options
Diffstat (limited to 'Tests/RunCMake/GoogleTest/GoogleTest.cmake')
-rw-r--r-- | Tests/RunCMake/GoogleTest/GoogleTest.cmake | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/Tests/RunCMake/GoogleTest/GoogleTest.cmake b/Tests/RunCMake/GoogleTest/GoogleTest.cmake index 31808c6..fca292a 100644 --- a/Tests/RunCMake/GoogleTest/GoogleTest.cmake +++ b/Tests/RunCMake/GoogleTest/GoogleTest.cmake @@ -50,10 +50,8 @@ gtest_discover_tests( PROPERTIES TIMEOUT 2 ) -add_executable(discovery_timeout_test timeout_test.cpp) -target_compile_definitions(discovery_timeout_test PRIVATE discoverySleepSec=10) +add_executable(skip_test skip_test.cpp) + gtest_discover_tests( - discovery_timeout_test - TEST_PREFIX discovery_ - DISCOVERY_TIMEOUT 2 + skip_test ) |