From 8cbc03b3be98bbbf1110e6652d368547b58a18be Mon Sep 17 00:00:00 2001 From: Aleix Pol Date: Tue, 11 May 2021 03:52:28 +0200 Subject: [PATCH] GlobalShortcutsTest: Support running the test without xwayland --- autotests/integration/globalshortcuts_test.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/autotests/integration/globalshortcuts_test.cpp b/autotests/integration/globalshortcuts_test.cpp index 5fab4246f6..29679398ba 100644 --- a/autotests/integration/globalshortcuts_test.cpp +++ b/autotests/integration/globalshortcuts_test.cpp @@ -306,6 +306,9 @@ struct XcbConnectionDeleter void GlobalShortcutsTest::testX11ClientShortcut() { +#ifdef NO_XWAYLAND + QSKIP("x11 test, unnecessary without xwayland"); +#endif // create an X11 window QScopedPointer c(xcb_connect(nullptr, nullptr)); QVERIFY(!xcb_connection_has_error(c.data()));