[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.
remotes/origin/Plasma/5.8
Martin Gräßlin 10 years ago
parent 3c235e63cc
commit 9aa6b2c1e5
  1. 3
      autotests/integration/xwayland_input_test.cpp

@ -135,6 +135,9 @@ void XWaylandInputTest::testPointerEnterLeave()
// create the test window
QScopedPointer<xcb_connection_t, XcbConnectionDeleter> 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());

Loading…
Cancel
Save