diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2019-01-21 10:33:54 +0100 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2019-01-22 17:21:06 +0000 |
commit | 84a1cac0baf2e089989ef1cba31437e7c3917d95 (patch) | |
tree | 2b64c7993db1ddba27964cbfb66dfef96ad3a6c3 /tests/auto/qmltest | |
parent | dfb3ccddfce6376cf8028ad31d6933b8fdfd1a47 (diff) |
Skip shadersource-dynamic-shadersource test on XCB platform
The test crashes, which is counted as failure, even if the test is
blacklisted. It also doesn't only crash on Ubuntu 18.04 but also on
Redhat 7.4 and Ubuntu 16.04. Just blacklist it for any linux for now.
Task-number: QTBUG-69893
Change-Id: Icc4c41b5d6fa339075b569fcd53220692e882d23
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'tests/auto/qmltest')
-rw-r--r-- | tests/auto/qmltest/shadersource/BLACKLIST | 6 | ||||
-rw-r--r-- | tests/auto/qmltest/shadersource/tst_DynamicallyCreatedSource.qml | 3 |
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); |