aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/auto/qmltest/shadersource/BLACKLIST6
-rw-r--r--tests/auto/qmltest/shadersource/tst_DynamicallyCreatedSource.qml3
2 files changed, 8 insertions, 1 deletions
diff --git a/tests/auto/qmltest/shadersource/BLACKLIST b/tests/auto/qmltest/shadersource/BLACKLIST
index e788c776ba..fc8ac4ac78 100644
--- a/tests/auto/qmltest/shadersource/BLACKLIST
+++ b/tests/auto/qmltest/shadersource/BLACKLIST
@@ -1,5 +1,9 @@
# Blacklist for testing
[shadersource-dynamic-sourceobject::test_endresult]
linux
+
+# The blacklisting does not work here as blacklisted tests are still executed and this one crashes.
+# Therefore, a skip() for platform "xcb" has been added to tst_DynamicallyCreatedSource.qml.
+# Please remove that skip() when the problem is resolved.
[shadersource-dynamic-shadersource::test_endresult]
-ubuntu-18.04
+linux
diff --git a/tests/auto/qmltest/shadersource/tst_DynamicallyCreatedSource.qml b/tests/auto/qmltest/shadersource/tst_DynamicallyCreatedSource.qml
index 74dc63a972..996c06c7da 100644
--- a/tests/auto/qmltest/shadersource/tst_DynamicallyCreatedSource.qml
+++ b/tests/auto/qmltest/shadersource/tst_DynamicallyCreatedSource.qml
@@ -71,6 +71,9 @@ Item {
|| (Qt.platform.pluginName === "minimal"))
skip("grabImage does not work on offscreen/minimal platforms");
+ if ((Qt.platform.pluginName === "xcb"))
+ skip("grabImage crashes on the xcb platform");
+
var image = grabImage(root);
compare(image.red(0,0), 255);
compare(image.green(0,0), 0);