diff options
author | Cristian Adam <cristian.adam@qt.io> | 2020-01-27 12:57:25 +0100 |
---|---|---|
committer | Cristian Adam <cristian.adam@qt.io> | 2020-01-28 14:18:27 +0000 |
commit | 48de5294c7f1991051143bf06625f74d561b8e86 (patch) | |
tree | c1d384e4489ac7c8ca6f0f8067872c212788ca85 /cmake | |
parent | e6e0b0ca3bf77826e2ce2ca05776f2809f99931d (diff) |
CMake Build: set a 5s timeout per test
At the moment MinGW build is running for 5 hours because a test
hangs.
The test suite should finish the 2700 tests in 120 seconds.
Change-Id: I71e2e740f916bb304c91a6a3054ae097b4076543
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/QtCreatorAPI.cmake | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/cmake/QtCreatorAPI.cmake b/cmake/QtCreatorAPI.cmake index 60aac409b2..6f3c20097a 100644 --- a/cmake/QtCreatorAPI.cmake +++ b/cmake/QtCreatorAPI.cmake @@ -218,7 +218,11 @@ endfunction() function(finalize_test_setup test_name) # Never translate tests: - set_tests_properties(${name} PROPERTIES QT_SKIP_TRANSLATION ON) + set_tests_properties(${name} + PROPERTIES + QT_SKIP_TRANSLATION ON + TIMEOUT 5 + ) if (WIN32) list(APPEND env_path $ENV{PATH}) |