diff options
Diffstat (limited to 'tests/TestCli.cpp')
-rw-r--r-- | tests/TestCli.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/TestCli.cpp b/tests/TestCli.cpp index 31e090bee..4ebc2f4e6 100644 --- a/tests/TestCli.cpp +++ b/tests/TestCli.cpp @@ -473,6 +473,10 @@ void TestCli::testClip() m_stdoutFile->reset(); QString errorOutput(m_stderrFile->readAll()); + if (QProcessEnvironment::systemEnvironment().contains("WAYLAND_DISPLAY")) { + QSKIP("Clip test skipped due to QClipboard and Wayland issues"); + } + if (errorOutput.contains("Unable to start program") || errorOutput.contains("No program defined for clipboard manipulation")) { QSKIP("Clip test skipped due to missing clipboard tool"); |