diff options
author | Artem Dyomin <artem.dyomin@qt.io> | 2023-09-01 14:24:12 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2023-09-01 18:15:06 +0000 |
commit | 59bfda17ad10404e410d061f696e506d5e436341 (patch) | |
tree | 31f8a43612912536451178a878d60866fe46f9ba | |
parent | 890c356dc3b3e99122e99e1971b2a7652ef7993b (diff) |
Tempoary skip capture+recording tests on linux
The crash happens inside ffmpeg, probably after including nvenc to
the build.
Let's skip it now to unlock CI and sort out later on.
Task-number: QTBUG-116671
Change-Id: Ib6ed2ffb8f3336ee86a229df05551004757fbd18
Reviewed-by: Lars Knoll <lars@knoll.priv.no>
(cherry picked from commit c07c29f7a62a7a37ea8fae07212c3b2402a2badf)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | tests/auto/integration/qscreencapture_integration/tst_qscreencapture_integration.cpp | 5 | ||||
-rw-r--r-- | tests/auto/integration/qwindowcapturebackend/tst_qwindowcapturebackend.cpp | 8 |
2 files changed, 13 insertions, 0 deletions
diff --git a/tests/auto/integration/qscreencapture_integration/tst_qscreencapture_integration.cpp b/tests/auto/integration/qscreencapture_integration/tst_qscreencapture_integration.cpp index 717a6d61e..11f49eeb9 100644 --- a/tests/auto/integration/qscreencapture_integration/tst_qscreencapture_integration.cpp +++ b/tests/auto/integration/qscreencapture_integration/tst_qscreencapture_integration.cpp @@ -355,6 +355,11 @@ void tst_QScreenCaptureIntegration::setScreen_selectsSecondaryScreen_whenCalledW void tst_QScreenCaptureIntegration::capture_capturesToFile_whenConnectedToMediaRecorder() { +#ifdef Q_OS_LINUX + if (qEnvironmentVariable("QTEST_ENVIRONMENT").toLower() == "ci") + QSKIP("QTBUG-116671: SKIP on linux CI to avoid crashes in ffmpeg. To be fixed."); +#endif + // Create widget with blue color auto widget = QTestWidget::createAndShow(Qt::Window | Qt::FramelessWindowHint | Qt::WindowStaysOnTopHint, QRect{ 200, 100, 430, 351 }); diff --git a/tests/auto/integration/qwindowcapturebackend/tst_qwindowcapturebackend.cpp b/tests/auto/integration/qwindowcapturebackend/tst_qwindowcapturebackend.cpp index 8079cc777..e927da061 100644 --- a/tests/auto/integration/qwindowcapturebackend/tst_qwindowcapturebackend.cpp +++ b/tests/auto/integration/qwindowcapturebackend/tst_qwindowcapturebackend.cpp @@ -154,6 +154,10 @@ private slots: void recorder_encodesFrames_toValidMediaFile() { +#ifdef Q_OS_LINUX + if (qEnvironmentVariable("QTEST_ENVIRONMENT").toLower() == "ci") + QSKIP("QTBUG-116671: SKIP on linux CI to avoid crashes in ffmpeg. To be fixed."); +#endif QFETCH(QSize, windowSize); WindowCaptureWithWidgetAndRecorderFixture fixture; @@ -179,6 +183,10 @@ private slots: void recorder_encodesFrames_toValidMediaFile_whenWindowResizes() { +#ifdef Q_OS_LINUX + if (qEnvironmentVariable("QTEST_ENVIRONMENT").toLower() == "ci") + QSKIP("QTBUG-116671: SKIP on linux CI to avoid crashes in ffmpeg. To be fixed."); +#endif QFETCH(int, increment); QSize windowSize = { 200, 150 }; |