Skip tst_QUrl::testThreading() under QEMU
It usually fails the test with "corrupted size vs. prev_size" message coming from malloc() or some other memory allocation routine (which signals about memory corruption probably) Task-number: QTBUG-93176 Change-Id: I5e34971267c52c63cda2489bef5b09bed739f532 Reviewed-by: Lars Knoll <lars.knoll@qt.io> (cherry picked from commit 6d52d86b999088ec07e58c14197bddda043ef0aa) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
e08bf5eb84
commit
94e4add5e8
@ -9,6 +9,7 @@ qt_internal_add_test(tst_qurl
|
||||
tst_qurl.cpp
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Concurrent
|
||||
Qt::TestPrivate
|
||||
)
|
||||
|
||||
## Scopes:
|
||||
|
@ -38,6 +38,8 @@
|
||||
#include <qfileinfo.h>
|
||||
#include <qmap.h>
|
||||
|
||||
#include <QtTest/private/qemulationdetector_p.h>
|
||||
|
||||
Q_DECLARE_METATYPE(QUrl::FormattingOptions)
|
||||
|
||||
class tst_QUrl : public QObject
|
||||
@ -4124,6 +4126,8 @@ void tst_QUrl::testThreadingHelper()
|
||||
|
||||
void tst_QUrl::testThreading()
|
||||
{
|
||||
if (QTestPrivate::isRunningArmOnX86())
|
||||
QSKIP("This test fails in QEMU and looks like because of a data race, QTBUG-93176");
|
||||
s_urlStorage = new UrlStorage;
|
||||
QThreadPool::globalInstance()->setMaxThreadCount(100);
|
||||
QFutureSynchronizer<void> sync;
|
||||
|
Loading…
x
Reference in New Issue
Block a user