From 85a8d986e7f165c0318f0e56566cb71dd3a85548 Mon Sep 17 00:00:00 2001 From: Rami Potinkara Date: Thu, 16 Feb 2023 23:40:06 +0200 Subject: [PATCH] Android: SKIP cases failing on Android 12 CI with 16GB RAM SKIP tst_QRhi::tessellation(Vulkan) SKIP tst_QOpenGLWidget::reparentHidden() SKIP tst_qvulkan cases Task-number: QTBUG-108844 Task-number: QTBUG-111235 Task-number: QTBUG-111236 Task-number: QTQAINFRA-5391 Task-number: QTQAINFRA-4733 Change-Id: Id227367477173b6ad4cf9433af8eab5976596e70 Reviewed-by: Assam Boudjelthia (cherry picked from commit eb0d7b5dcf834c856d58637ada8745aee2b040ee) Reviewed-by: Qt Cherry-pick Bot --- tests/auto/gui/qvulkan/tst_qvulkan.cpp | 16 ++++++++++++++++ tests/auto/gui/rhi/qrhi/tst_qrhi.cpp | 4 ++++ .../widgets/qopenglwidget/tst_qopenglwidget.cpp | 4 ++++ 3 files changed, 24 insertions(+) diff --git a/tests/auto/gui/qvulkan/tst_qvulkan.cpp b/tests/auto/gui/qvulkan/tst_qvulkan.cpp index 1be39f77a7d..0afebfba28f 100644 --- a/tests/auto/gui/qvulkan/tst_qvulkan.cpp +++ b/tests/auto/gui/qvulkan/tst_qvulkan.cpp @@ -27,6 +27,10 @@ private slots: void tst_QVulkan::vulkanInstance() { +#ifdef Q_OS_ANDROID + if (QNativeInterface::QAndroidApplication::sdkVersion() >= 31) + QSKIP("Fails on Android 12 (QTBUG-111236)"); +#endif QVulkanInstance inst; if (!inst.create()) QSKIP("Vulkan init failed; skip"); @@ -63,6 +67,10 @@ void tst_QVulkan::vulkanInstance() void tst_QVulkan::vulkanCheckSupported() { +#ifdef Q_OS_ANDROID + if (QNativeInterface::QAndroidApplication::sdkVersion() >= 31) + QSKIP("Fails on Android 12 (QTBUG-111236)"); +#endif // Test the early calls to supportedLayers/extensions/apiVersion that need // the library and some basics, but do not initialize the instance. QVulkanInstance inst; @@ -206,6 +214,10 @@ void tst_QVulkan::vulkanPlainWindow() void tst_QVulkan::vulkanVersionRequest() { +#ifdef Q_OS_ANDROID + if (QNativeInterface::QAndroidApplication::sdkVersion() >= 31) + QSKIP("Fails on Android 12 (QTBUG-111236)"); +#endif QVulkanInstance inst; if (!inst.create()) QSKIP("Vulkan init failed; skip"); @@ -252,6 +264,10 @@ static void waitForUnexposed(QWindow *w) void tst_QVulkan::vulkanWindow() { +#ifdef Q_OS_ANDROID + if (QNativeInterface::QAndroidApplication::sdkVersion() >= 31) + QSKIP("Fails on Android 12 (QTBUG-111236)"); +#endif QVulkanInstance inst; if (!inst.create()) QSKIP("Vulkan init failed; skip"); diff --git a/tests/auto/gui/rhi/qrhi/tst_qrhi.cpp b/tests/auto/gui/rhi/qrhi/tst_qrhi.cpp index 2cb2da77f64..582e21da2f7 100644 --- a/tests/auto/gui/rhi/qrhi/tst_qrhi.cpp +++ b/tests/auto/gui/rhi/qrhi/tst_qrhi.cpp @@ -5417,6 +5417,10 @@ void tst_QRhi::tessellation_data() void tst_QRhi::tessellation() { +#ifdef Q_OS_ANDROID + if (QNativeInterface::QAndroidApplication::sdkVersion() >= 31) + QSKIP("Fails on Android 12 (QTBUG-108844)"); +#endif QFETCH(QRhi::Implementation, impl); QFETCH(QRhiInitParams *, initParams); diff --git a/tests/auto/widgets/widgets/qopenglwidget/tst_qopenglwidget.cpp b/tests/auto/widgets/widgets/qopenglwidget/tst_qopenglwidget.cpp index 4d3699009f9..ca1deb60940 100644 --- a/tests/auto/widgets/widgets/qopenglwidget/tst_qopenglwidget.cpp +++ b/tests/auto/widgets/widgets/qopenglwidget/tst_qopenglwidget.cpp @@ -281,6 +281,10 @@ void tst_QOpenGLWidget::reparentToNotYetCreated() void tst_QOpenGLWidget::reparentHidden() { +#ifdef Q_OS_ANDROID + if (QNativeInterface::QAndroidApplication::sdkVersion() >= 31) + QSKIP("Fails on Android 12 (QTBUG-111235)"); +#endif // Tests QTBUG-60896 QWidget topLevel1;