From 9aa6b2c1e5651ed9e4e5b425bc3ad4ee28c2f2ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Tue, 23 Aug 2016 11:25:57 +0200 Subject: [PATCH] [autotests] QSkip XWaylandInputTest if we don't have at least Xwayland 1.18 The test seems to fail with too old Xwayland, so let's skip it. --- autotests/integration/xwayland_input_test.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/autotests/integration/xwayland_input_test.cpp b/autotests/integration/xwayland_input_test.cpp index 43a34da572..a386d20040 100644 --- a/autotests/integration/xwayland_input_test.cpp +++ b/autotests/integration/xwayland_input_test.cpp @@ -135,6 +135,9 @@ void XWaylandInputTest::testPointerEnterLeave() // create the test window QScopedPointer c(xcb_connect(nullptr, nullptr)); QVERIFY(!xcb_connection_has_error(c.data())); + if (xcb_get_setup(c.data())->release_number < 1800000) { + QSKIP("XWayland 1.18 required"); + } X11EventReaderHelper eventReader(c.data()); QSignalSpy enteredSpy(&eventReader, &X11EventReaderHelper::entered); QVERIFY(enteredSpy.isValid());