From 925ad7802470ab9b4fd1cce51548ccc5182eb4cc Mon Sep 17 00:00:00 2001 From: Fabian Kosmale Date: Thu, 25 Nov 2021 09:16:04 +0100 Subject: 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 --- tests/auto/corelib/kernel/qmetatype/tst_qmetatype.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'tests/auto/corelib/kernel/qmetatype') 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 #include -// 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 -- cgit v1.2.3