Skip to content

Commit

Permalink
Fix gtest discovery timeout (#4048)
Browse files Browse the repository at this point in the history
Signed-off-by: Ricardo González Moreno <[email protected]>
  • Loading branch information
richiware authored Nov 30, 2023
1 parent 2359f49 commit c2bba24
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions cmake/testing/GoogleTest.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ function(gtest_discover_tests TARGET)

set(CMAKE_COMMAND "${CMAKE_CURRENT_BINARY_DIR}/${TARGET}_win_wrapper_$<CONFIG>.bat")
endif()
if(ANDROID)
set(_ANDROID_DISCOVERY_TIMEOUT "DISCOVERY_TIMEOUT;10")
endif()
_gtest_discover_tests(${TARGET} ${ARGN} ${_ANDROID_DISCOVERY_TIMEOUT})
set(_DISCOVERY_TIMEOUT "DISCOVERY_TIMEOUT;10")
_gtest_discover_tests(${TARGET} ${ARGN} ${_DISCOVERY_TIMEOUT})
endfunction()

0 comments on commit c2bba24

Please sign in to comment.