summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/kernel/qmetatype/tst_qmetatype.cpp
diff options
context:
space:
mode:
authorFabian Kosmale <fabian.kosmale@qt.io>2021-11-25 09:16:04 +0100
committerFabian Kosmale <fabian.kosmale@qt.io>2021-11-25 09:53:34 +0100
commit925ad7802470ab9b4fd1cce51548ccc5182eb4cc (patch)
tree27cebff9e0b093bdc956551d5af0cd56001f8ec3 /tests/auto/corelib/kernel/qmetatype/tst_qmetatype.cpp
parent8f8775adf3c4fbba1bd3c120a228351d46f50127 (diff)
tst_qmetatype: Temporarily disable expensive tests on QNX
The compiler runs out of memory and fails to compile tst_qmetatype.cpp. Set TST_QMETATYPE_BROKEN_COMPILER from a previous compiler workaround for QNX to disable the most expensive part of the test. Task-number: QTQAINFRA-4669 Change-Id: I3a99b6b790dc074e9d1db262e758555fb45e4331 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'tests/auto/corelib/kernel/qmetatype/tst_qmetatype.cpp')
-rw-r--r--tests/auto/corelib/kernel/qmetatype/tst_qmetatype.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/auto/corelib/kernel/qmetatype/tst_qmetatype.cpp b/tests/auto/corelib/kernel/qmetatype/tst_qmetatype.cpp
index 66040228b4..a59d809da7 100644
--- a/tests/auto/corelib/kernel/qmetatype/tst_qmetatype.cpp
+++ b/tests/auto/corelib/kernel/qmetatype/tst_qmetatype.cpp
@@ -37,8 +37,11 @@
#include <algorithm>
#include <memory>
-// mingw gcc 4.8 also takes way too long, letting the CI system abort the test
-#if defined(__MINGW32__)
+/* QNX's compiler requires too many resources, letting the CI system abort the test
+* mingw is blacklisted due to issues with gcc 4.8
+* ### TODO: Check if mingw can be safely removed
+*/
+#if defined(__MINGW32__) || defined(Q_OS_QNX)
# define TST_QMETATYPE_BROKEN_COMPILER
#endif