tests: skip tst_QSharedMemory::useTooMuchMemory() on Linux arm64

This amends d8cd56df6b .

Task-number: QTBUG-119321
Task-number: QTBUG-126225
Change-Id: Ie252367bde453f1892f5791aa0b20398106b592e
Reviewed-by: Liang Qi <liang.qi@qt.io>
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
(cherry picked from commit 1943183282defdbc846813e4ceb66c1eec28fec5)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
bb10
Liang Qi 2024-06-13 13:04:02 +02:00 committed by Qt Cherry-pick Bot
parent 3d28089f9a
commit 217d2839be
1 changed files with 2 additions and 2 deletions

View File

@ -583,8 +583,8 @@ void tst_QSharedMemory::attachBeforeCreate()
*/
void tst_QSharedMemory::useTooMuchMemory()
{
if (QSysInfo::productType() == QLatin1String("Debian")
|| QSysInfo::productType() == QLatin1String("debian"))
if (QSysInfo::kernelType() == QLatin1String("linux")
&& QSysInfo::currentCpuArchitecture() == QLatin1String("arm64"))
QSKIP("This test is unstable: QTBUG-119321");
#ifdef Q_OS_LINUX