summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2020-06-26 14:51:34 +0200
committerAlexandru Croitor <alexandru.croitor@qt.io>2020-06-26 14:54:32 +0200
commit554d40da584bdd0aa4e5fd545ccea867d111b907 (patch)
tree2c8bb9a529afe15517b1a67baa9a908d2c8548dc /tests/auto/corelib
parent7789c0dc8645933e2e68c7df1a7d2632cae58c1f (diff)
CMake: Skip building tst_qprocess test when cross compiling
tst_qprocess hangs on the qemu armv7 configuration. Task-number: QTBUG-85287 Change-Id: I5a77a81a24bb1bd315edfcf14f3bcbfd5b925e4d Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'tests/auto/corelib')
-rw-r--r--tests/auto/corelib/io/CMakeLists.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/auto/corelib/io/CMakeLists.txt b/tests/auto/corelib/io/CMakeLists.txt
index 18fc2bf375..cf014b2b1f 100644
--- a/tests/auto/corelib/io/CMakeLists.txt
+++ b/tests/auto/corelib/io/CMakeLists.txt
@@ -41,7 +41,12 @@ if(TARGET Qt::Network)
add_subdirectory(qiodevice)
endif()
if(QT_FEATURE_process AND TARGET Qt::Network AND NOT ANDROID)
- add_subdirectory(qprocess)
+ # special case begin
+ # QTBUG-85287: Hangs on qemu armv7 config
+ if(NOT CMAKE_CROSSCOMPILING)
+ add_subdirectory(qprocess)
+ endif()
+ # special case end
endif()
if(QT_FEATURE_process)
add_subdirectory(qprocess-noapplication)