Commit 3aaadc52 authored by Friedemann Kleint's avatar Friedemann Kleint Committed by The Qt Project
Browse files

Skip flaky subtests of tests/auto/qmltest.


- Skip test_key_click() in events/tst_events.qml.
- Skip test_pixel pixel/tst_pixel.qml.

Task-number: QTBUG-27671
Change-Id: Id78c34244d346910e28a2368f9fe3a41f54b8fb9
Reviewed-by: default avatarJanne Anttila <janne.anttila@digia.com>
Reviewed-by: default avatarStephen Kelly <stephen.kelly@kdab.com>
parent 7ccd053e
Branches
Tags
No related merge requests found
Showing with 2 additions and 0 deletions
...@@ -73,6 +73,7 @@ Rectangle { ...@@ -73,6 +73,7 @@ Rectangle {
when: windowShown // Must have this line for events to work. when: windowShown // Must have this line for events to work.
function test_key_click() { function test_key_click() {
skip("test_key_click() is unstable, QTBUG-27671")
keyClick(Qt.Key_Left) keyClick(Qt.Key_Left)
tryCompare(top, "leftKeyPressed", true, 10000) tryCompare(top, "leftKeyPressed", true, 10000)
tryCompare(top, "leftKeyReleased", true, 10000) tryCompare(top, "leftKeyReleased", true, 10000)
......
...@@ -52,6 +52,7 @@ Rectangle { ...@@ -52,6 +52,7 @@ Rectangle {
when: windowShown when: windowShown
function test_pixel() { function test_pixel() {
skip("test_pixel() is unstable, QTBUG-27671")
var img = grabImage(rect); var img = grabImage(rect);
compare(img.pixel(20, 20), Qt.rgba(255, 0, 0, 255)); compare(img.pixel(20, 20), Qt.rgba(255, 0, 0, 255));
compare(img.red(1,1), 255); compare(img.red(1,1), 255);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment