From 554d40da584bdd0aa4e5fd545ccea867d111b907 Mon Sep 17 00:00:00 2001 From: Alexandru Croitor Date: Fri, 26 Jun 2020 14:51:34 +0200 Subject: 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 --- tests/auto/corelib/io/CMakeLists.txt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'tests/auto/corelib/io') 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) -- cgit v1.2.3