summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/global/qglobalstatic/tst_qglobalstatic.cpp
diff options
context:
space:
mode:
authorToni Saario <toni.saario@qt.io>2021-03-03 21:03:25 +0200
committerQt CI Bot <qt_ci_bot@qt-project.org>2021-03-05 11:02:17 +0000
commit90371e92502b972c2b1ab18ff7f1f2e6187fce83 (patch)
tree36c922762501c37ce03e0295914e5a33bd20c48c /tests/auto/corelib/global/qglobalstatic/tst_qglobalstatic.cpp
parent852b070529d2721d2d4e1e7ec1c90d8fe536b088 (diff)
parent49e93b6e3928e12507ec7956d66e79a2555c13a8 (diff)
Merge "Skip globalstatic threadStressTest on QEMU"
Diffstat (limited to 'tests/auto/corelib/global/qglobalstatic/tst_qglobalstatic.cpp')
-rw-r--r--tests/auto/corelib/global/qglobalstatic/tst_qglobalstatic.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/auto/corelib/global/qglobalstatic/tst_qglobalstatic.cpp b/tests/auto/corelib/global/qglobalstatic/tst_qglobalstatic.cpp
index dfc62ce163..190df2a555 100644
--- a/tests/auto/corelib/global/qglobalstatic/tst_qglobalstatic.cpp
+++ b/tests/auto/corelib/global/qglobalstatic/tst_qglobalstatic.cpp
@@ -35,6 +35,8 @@
#include <sys/resource.h>
#endif
+#include <QtTest/private/qemulationdetector_p.h>
+
class tst_QGlobalStatic : public QObject
{
Q_OBJECT
@@ -179,6 +181,9 @@ Q_GLOBAL_STATIC_WITH_ARGS(ThrowingType, threadStressTestGS, (threadStressTestCon
void tst_QGlobalStatic::threadStressTest()
{
+ if (QTestPrivate::isRunningArmOnX86())
+ QSKIP("Frequently hangs on QEMU, QTBUG-91423");
+
class ThreadStressTestThread: public QThread
{
public: