From 1943183282defdbc846813e4ceb66c1eec28fec5 Mon Sep 17 00:00:00 2001 From: Liang Qi Date: Thu, 13 Jun 2024 13:04:02 +0200 Subject: [PATCH] tests: skip tst_QSharedMemory::useTooMuchMemory() on Linux arm64 This amends d8cd56df6b3bde89a59cd25db359a0bbea9449d2 . Task-number: QTBUG-119321 Task-number: QTBUG-126225 Pick-to: 6.8 Change-Id: Ie252367bde453f1892f5791aa0b20398106b592e Reviewed-by: Liang Qi Reviewed-by: Volker Hilsheimer --- tests/auto/corelib/ipc/qsharedmemory/tst_qsharedmemory.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/auto/corelib/ipc/qsharedmemory/tst_qsharedmemory.cpp b/tests/auto/corelib/ipc/qsharedmemory/tst_qsharedmemory.cpp index 73578a3bab8..5bd74da5325 100644 --- a/tests/auto/corelib/ipc/qsharedmemory/tst_qsharedmemory.cpp +++ b/tests/auto/corelib/ipc/qsharedmemory/tst_qsharedmemory.cpp @@ -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