diff options
author | Artem Dyomin <artem.dyomin@qt.io> | 2023-08-21 11:55:45 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2023-08-21 12:58:24 +0000 |
commit | 66d04db9ca27a9a30f4ebd32f5bc5e2358c962d6 (patch) | |
tree | b417c9501717d41471b196920b6adeed27f642f3 | |
parent | efb672d13af3a46fa8447335e9e3c31e26b50e13 (diff) |
Skip windows capture test on macOS CI
Window capture tests are not available on macOS CI due to permissions.
Running the blacklisted tests without permissions wastes time and
causes random crashes.
Let's skip the tests to unlock CI.
Change-Id: Id732d85f1ad578d819f9a6c34e8fb0250bb2bc62
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
(cherry picked from commit 36d26779c74a222cff5e95bd3f4b873595b1c93f)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | tests/auto/integration/qwindowcapturebackend/tst_qwindowcapturebackend.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/integration/qwindowcapturebackend/tst_qwindowcapturebackend.cpp b/tests/auto/integration/qwindowcapturebackend/tst_qwindowcapturebackend.cpp index 1beaea069..8079cc777 100644 --- a/tests/auto/integration/qwindowcapturebackend/tst_qwindowcapturebackend.cpp +++ b/tests/auto/integration/qwindowcapturebackend/tst_qwindowcapturebackend.cpp @@ -33,6 +33,9 @@ private slots: if (qEnvironmentVariable("QTEST_ENVIRONMENT").toLower() == "ci" && qEnvironmentVariable("XDG_SESSION_TYPE").toLower() != "x11") QSKIP("Skip on wayland; to be fixed"); +#elif defined(Q_OS_MACOS) + if (qEnvironmentVariable("QTEST_ENVIRONMENT").toLower() == "ci") + QSKIP("QTBUG-116285: Skip on macOS CI because of permissions issues"); #endif const QWindowCapture capture; |