[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.
This commit is contained in:
parent
3c235e63cc
commit
9aa6b2c1e5
1 changed files with 3 additions and 0 deletions
|
@ -135,6 +135,9 @@ void XWaylandInputTest::testPointerEnterLeave()
|
||||||
// create the test window
|
// create the test window
|
||||||
QScopedPointer<xcb_connection_t, XcbConnectionDeleter> c(xcb_connect(nullptr, nullptr));
|
QScopedPointer<xcb_connection_t, XcbConnectionDeleter> c(xcb_connect(nullptr, nullptr));
|
||||||
QVERIFY(!xcb_connection_has_error(c.data()));
|
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());
|
X11EventReaderHelper eventReader(c.data());
|
||||||
QSignalSpy enteredSpy(&eventReader, &X11EventReaderHelper::entered);
|
QSignalSpy enteredSpy(&eventReader, &X11EventReaderHelper::entered);
|
||||||
QVERIFY(enteredSpy.isValid());
|
QVERIFY(enteredSpy.isValid());
|
||||||
|
|
Loading…
Reference in a new issue