From 18be2625a0e22ab5bb3080fa138a01e952f01f27 Mon Sep 17 00:00:00 2001 From: Liang Qi Date: Fri, 14 Jun 2024 09:32:48 +0200 Subject: [PATCH] coin: force qtbase tests for offscreen on linux arm64 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Task-number: QTQAINFRA-6112 Task-number: QTBUG-125446 Pick-to: 6.8 Change-Id: Id88e0b7717fdbd86fc001809073c491aaa669d61 Reviewed-by: Tero Heikkinen Reviewed-by: Simo Fält Reviewed-by: Liang Qi --- .../qtbase-linux-arm64-offscreen.yaml | 26 +++++++++++++++++++ coin/platform_configs/qtbase.yaml | 1 + 2 files changed, 27 insertions(+) create mode 100644 coin/platform_configs/qtbase-linux-arm64-offscreen.yaml diff --git a/coin/platform_configs/qtbase-linux-arm64-offscreen.yaml b/coin/platform_configs/qtbase-linux-arm64-offscreen.yaml new file mode 100644 index 00000000..6b19d35c --- /dev/null +++ b/coin/platform_configs/qtbase-linux-arm64-offscreen.yaml @@ -0,0 +1,26 @@ +Version: 2 +Configurations: +# Test on Ubuntu 24.04 ARM64 offscreen +- + Id: 'ubuntu-24.04-arm64-offscreen-qtbase-tests' + Template: 'qtci-linux-Ubuntu-24.04-aarch64-50' + Compiler: 'GCC' + Features: ['TestOnly'] + Environment variables: [ + 'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY', + 'QT_QPA_OFFSCREEN_NO_GLX=1', + 'QT_QPA_PLATFORM=offscreen' + ] + Platform dependency: 'ubuntu-24.04-arm64' +# Test on Debian-11.6 offscreen +- + Id: 'debian-11.6-arm64-offscreen-qtbase-tests' + Template: 'qtci-linux-Debian-11.6-aarch64-50' + Compiler: 'GCC' + Features: ['Sccache', 'TestOnly'] + Environment variables: [ + 'CMAKE_ARGS=-DOpenGL_GL_PREFERENCE=LEGACY', + 'QT_QPA_OFFSCREEN_NO_GLX=1', + 'QT_QPA_PLATFORM=offscreen' + ] + Platform dependency: 'debian-11.6-arm64' diff --git a/coin/platform_configs/qtbase.yaml b/coin/platform_configs/qtbase.yaml index 0b847e1e..d92b2ca0 100644 --- a/coin/platform_configs/qtbase.yaml +++ b/coin/platform_configs/qtbase.yaml @@ -9,6 +9,7 @@ Include: [ wasm_qtbase_tests.yaml, cmake_platforms_qemu_vxworks.yaml, qtlite.yaml, + qtbase-linux-arm64-offscreen.yaml, qtbase-new-compiler-testing.yaml ] Configurations: []