From 204ea530a7d3c59bb6cad55c169cedeadafe80d2 Mon Sep 17 00:00:00 2001 From: Liang Qi Date: Mon, 13 Feb 2023 12:04:43 +0100 Subject: [PATCH] Enable RunDependencyTests for qtwayland MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It will run all auto tests in dependency modules, such as qtbase, qtdeclarative and etc, with QtWayland QPA plugin, but insignificant for now. So the time for testing will be similar like qtbase, about 1-2 hours. Pick-to: 6.5 Task-number: QTBUG-66335 Change-Id: I66259f975e102aed90af516885fcf6b1cbddb5f6 Reviewed-by: Tor Arne Vestbø --- coin/platform_configs/cmake_platforms.yaml | 18 ++++++++++++++++-- coin/platform_configs/qtwayland.yaml | 15 ++++++++++++++- 2 files changed, 30 insertions(+), 3 deletions(-) diff --git a/coin/platform_configs/cmake_platforms.yaml b/coin/platform_configs/cmake_platforms.yaml index 3537b6a2..1a9cf594 100644 --- a/coin/platform_configs/cmake_platforms.yaml +++ b/coin/platform_configs/cmake_platforms.yaml @@ -7,23 +7,37 @@ Include: [ macos.yaml ] Configurations: +# Build on Ubuntu 22.04 and test on both X11 and Wayland later - Id: 'ubuntu-22.04-documentation' Template: 'qtci-linux-Ubuntu-22.04-x86_64-51' Compiler: 'GCC' - Features: ['Sccache', 'Documentation', 'TestDocs', 'UseConfigure'] + Features: ['Sccache', 'Documentation', 'TestDocs', 'UseConfigure', 'DoNotRunTests'] Configure arguments: '-make examples -developer-build -c++std c++20 -linker gold -no-warnings-are-errors -qtlibinfix TestInfix -qtnamespace TestNamespace' Environment variables: ['NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}}'] - Id: 'ubuntu-22.04' Template: 'qtci-linux-Ubuntu-22.04-x86_64-51' Compiler: 'GCC' - Features: ['Sccache', 'UseConfigure'] + Features: ['Sccache', 'UseConfigure', 'DoNotRunTests'] Configure arguments: '-nomake examples -release -force-debug-info -separate-debug-info -headersclean -qt-libjpeg -qt-libpng -qt-pcre -qt-harfbuzz -qt-doubleconversion -no-libudev -bundled-xcb-xinput' Environment variables: [ 'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY', 'NON_QTBASE_CMAKE_ARGS=-DFFMPEG_DIR={{.Env.FFMPEG_DIR}}' ] +# Test on Ubuntu 22.04 X11 +- + Id: 'ubuntu-22.04-documentation-x11-tests' + Template: 'qtci-linux-Ubuntu-22.04-x86_64-51' + Compiler: 'GCC' + Features: ['Sccache', 'TestOnly'] + Platform dependency: 'ubuntu-22.04-documentation' +- + Id: 'ubuntu-22.04-x11-tests' + Template: 'qtci-linux-Ubuntu-22.04-x86_64-51' + Compiler: 'GCC' + Features: ['Sccache', 'TestOnly'] + Platform dependency: 'ubuntu-22.04' - Id: 'opensuse-15.4-developer-build' Template: 'qtci-linux-openSUSE-15.4-x86_64-50' diff --git a/coin/platform_configs/qtwayland.yaml b/coin/platform_configs/qtwayland.yaml index f1729154..ae9874e6 100644 --- a/coin/platform_configs/qtwayland.yaml +++ b/coin/platform_configs/qtwayland.yaml @@ -3,4 +3,17 @@ Include: [ cmake_platforms.yaml, cmake_platforms_target_android_12.yaml ] -Configurations: [] +Configurations: +# Test on Ubuntu 22.04 Wayland +- + Id: 'ubuntu-22.04-documentation-wayland-tests' + Template: 'qtci-linux-Ubuntu-22.04-x86_64-50' + Compiler: 'GCC' + Features: ['Sccache', 'TestOnly', 'RunDependencyTests', 'InsignificantTests'] + Platform dependency: 'ubuntu-22.04-documentation' +- + Id: 'ubuntu-22.04-wayland-tests' + Template: 'qtci-linux-Ubuntu-22.04-x86_64-50' + Compiler: 'GCC' + Features: ['Sccache', 'TestOnly', 'RunDependencyTests', 'InsignificantTests'] + Platform dependency: 'ubuntu-22.04'