CMake: don't set TIMEOUT_SIGNAL_NAME for Android target on Windows host
TIMEOUT_SIGNAL_NAME and TIMEOUT_SIGNAL_GRACE_PERIOD are not supported
on Windows.
Amends 4a3936c33c.
Pick-to: 6.7 6.6 6.5
Task-number: QTBUG-106479
Change-Id: Ifa00a9183750454960b1ff24e1a0048224feff4b
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
bb10
parent
01bf423d67
commit
1a7db3ab11
|
|
@ -737,7 +737,7 @@ function(qt_internal_add_test name)
|
|||
set_tests_properties(${testname} PROPERTIES TIMEOUT ${arg_TIMEOUT})
|
||||
endif()
|
||||
|
||||
if(ANDROID)
|
||||
if(ANDROID AND NOT CMAKE_HOST_SYSTEM_NAME STREQUAL "Windows")
|
||||
# Set timeout signal and some time for androidtestrunner to do cleanup
|
||||
set_tests_properties(${testname} PROPERTIES
|
||||
TIMEOUT_SIGNAL_NAME "SIGINT"
|
||||
|
|
|
|||
Loading…
Reference in New Issue