summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAssam Boudjelthia <assam.boudjelthia@qt.io>2022-08-18 03:13:38 +0300
committerAssam Boudjelthia <assam.boudjelthia@qt.io>2022-08-18 10:52:14 +0000
commit78c85616585d3e6b9346d0a0ed236c23127b3810 (patch)
tree6b9002c351c17f7072c1e2fed8bf6dfa4eb08778 /tests
parent0fb59d68f79328215a5c3b3602c5baefdc0d1178 (diff)
Android: skip tst_qvulkan vulkan11() and vulkanWindowGrab()
This fails on Android 12 in CI. Task-number: QTBUG-105739 Pick-to: 6.4 6.3 6.2 Change-Id: Ibf3deb6b84564f12b5172f2522875fe70f8ce87b Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/gui/qvulkan/tst_qvulkan.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/auto/gui/qvulkan/tst_qvulkan.cpp b/tests/auto/gui/qvulkan/tst_qvulkan.cpp
index 88171a80c6..95f85e48dc 100644
--- a/tests/auto/gui/qvulkan/tst_qvulkan.cpp
+++ b/tests/auto/gui/qvulkan/tst_qvulkan.cpp
@@ -88,6 +88,10 @@ void tst_QVulkan::vulkanCheckSupported()
void tst_QVulkan::vulkan11()
{
+#ifdef Q_OS_ANDROID
+ if (QNativeInterface::QAndroidApplication::sdkVersion() >= 31)
+ QSKIP("Fails on Android 12 (QTBUG-105739)");
+#endif
#if VK_VERSION_1_1
QVulkanInstance inst;
if (inst.supportedApiVersion() < QVersionNumber(1, 1))
@@ -449,6 +453,10 @@ void tst_QVulkan::vulkanWindowRenderer()
void tst_QVulkan::vulkanWindowGrab()
{
+#ifdef Q_OS_ANDROID
+ if (QNativeInterface::QAndroidApplication::sdkVersion() >= 31)
+ QSKIP("Fails on Android 12 (QTBUG-105739)");
+#endif
QVulkanInstance inst;
inst.setLayers(QByteArrayList() << "VK_LAYER_KHRONOS_validation");
if (!inst.create())