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>
This commit is contained in:
Fabian Kosmale 2021-11-25 09:16:04 +01:00
parent 8f8775adf3
commit 925ad78024

View File

@ -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