summaryrefslogtreecommitdiffstats
path: root/tests/auto/gui/rhi
diff options
context:
space:
mode:
authorAssam Boudjelthia <assam.boudjelthia@qt.io>2023-03-13 13:18:05 +0200
committerAssam Boudjelthia <assam.boudjelthia@qt.io>2023-03-13 21:12:38 +0000
commitf314e821c11e13151d8e8e02878c29ac4d486606 (patch)
tree660b498a2e9620410f54c162833662c0fcd21e79 /tests/auto/gui/rhi
parent0ac234f9e256949cbacb77f94d39fff90caba7b4 (diff)
Android: skip two qrhi tests to enable Android 12 in CI
This is expected to be temporary and to be investigated afterwards. Task-number: QTBUG-108844 Pick-to: 6.5 Change-Id: I0a571dad2b99ceaa0fd48e5cdd81057e49e55ddf Reviewed-by: Ville Voutilainen <ville.voutilainen@qt.io>
Diffstat (limited to 'tests/auto/gui/rhi')
-rw-r--r--tests/auto/gui/rhi/qrhi/tst_qrhi.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/auto/gui/rhi/qrhi/tst_qrhi.cpp b/tests/auto/gui/rhi/qrhi/tst_qrhi.cpp
index 5723d3f8c8..844bd6a521 100644
--- a/tests/auto/gui/rhi/qrhi/tst_qrhi.cpp
+++ b/tests/auto/gui/rhi/qrhi/tst_qrhi.cpp
@@ -5806,6 +5806,10 @@ void tst_QRhi::tessellationInterfaceBlocks_data()
void tst_QRhi::tessellationInterfaceBlocks()
{
+#ifdef Q_OS_ANDROID
+ if (QNativeInterface::QAndroidApplication::sdkVersion() >= 31)
+ QSKIP("Fails on Android 12 (QTBUG-108844)");
+#endif
QFETCH(QRhi::Implementation, impl);
QFETCH(QRhiInitParams *, initParams);
@@ -6361,6 +6365,10 @@ void tst_QRhi::storageBufferRuntimeSizeGraphics_data()
void tst_QRhi::storageBufferRuntimeSizeGraphics()
{
+#ifdef Q_OS_ANDROID
+ if (QNativeInterface::QAndroidApplication::sdkVersion() >= 31)
+ QSKIP("Fails on Android 12 (QTBUG-108844)");
+#endif
// Draws a tessellated triangle with color determined by the length of
// buffers bound to shader stages. This is primarily to test Metal
// SPIRV-Cross buffer size buffers.
@@ -6534,6 +6542,10 @@ void tst_QRhi::halfPrecisionAttributes_data()
void tst_QRhi::halfPrecisionAttributes()
{
+#ifdef Q_OS_ANDROID
+ if (QNativeInterface::QAndroidApplication::sdkVersion() >= 31)
+ QSKIP("Fails on Android 12 (QTBUG-108844)");
+#endif
QFETCH(QRhi::Implementation, impl);
QFETCH(QRhiInitParams *, initParams);