From 2a644183583b8fc5883c5be7a8d28b1fa06dc95b Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Tue, 4 Feb 2020 16:48:00 +0100 Subject: [PATCH] Transition to macOS 10.14 step 1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We want to run all tests on macOS 10.14, which requires some more fixes in qtquickcontrols2. That however isn't passing due to unrelated changes in base/declarative blocking us from moving forward. So to decouple the two, this change limits macOS tests to qtbase and declarative but on 10.14. This will allow us to switch qtbase over to C++17 and once we've got qqc2 updated in qt5.git, we can globally re-enable tests for 10.14. Task-number: QTQAINFRA-3108 Change-Id: I0f835a1da87187c6bb69e3d4019196e1411095fd Reviewed-by: Tor Arne Vestbø --- coin/platform_configs/default.yaml | 4 ++-- coin/platform_configs/qtbase.yaml | 5 +++++ coin/platform_configs/qtdeclarative.yaml | 5 +++++ 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/coin/platform_configs/default.yaml b/coin/platform_configs/default.yaml index ee2eb2d5..a09507d3 100644 --- a/coin/platform_configs/default.yaml +++ b/coin/platform_configs/default.yaml @@ -43,9 +43,9 @@ Configurations: Features: ['Packaging', 'UseLegacyInstructions'] Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -release -nomake tests -nomake examples -no-libudev -no-use-gold-linker -force-debug-info -separate-debug-info -no-sql-mysql -plugin-sql-psql -plugin-sql-sqlite -qt-libjpeg -qt-libpng -xcb -bundled-xcb-xinput -sysconfdir /etc/xdg -qt-pcre -qt-harfbuzz -R . -openssl -I {{.Env.OPENSSL_HOME}}/include -L {{.Env.OPENSSL_HOME}}/lib QMAKE_LFLAGS_APP+=-s' - - Template: 'qtci-macos-10.13-x86_64-2' + Template: 'qtci-macos-10.14-x86_64' Compiler: 'Clang' - Features: ['Packaging', 'UseLegacyInstructions'] + Features: ['DisableTests', 'Packaging', 'UseLegacyInstructions'] Configure arguments: '-opensource -confirm-license -verbose -prefix /Users/qt/work/install -release -force-debug-info -separate-debug-info -nomake tests -nomake examples -no-sql-mysql -plugin-sql-psql -plugin-sql-sqlite -sysconfdir /Library/Preferences/Qt -I/usr/local/opt/openssl/include' - Template: 'qtci-macos-10.14-x86_64' diff --git a/coin/platform_configs/qtbase.yaml b/coin/platform_configs/qtbase.yaml index 01b5763d..0379bfaa 100644 --- a/coin/platform_configs/qtbase.yaml +++ b/coin/platform_configs/qtbase.yaml @@ -20,3 +20,8 @@ Configurations: Compiler: 'GCC' Features: ['DisableTests', 'UseLegacyInstructions'] Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -release -developer-build -static -nomake tests -nomake examples -no-pch -no-feature-thread -no-dbus -no-headersclean -no-ssl -no-warnings-are-errors -xplatform wasm-emscripten' +- + Template: 'qtci-macos-10.14-x86_64' + Compiler: 'Clang' + Features: ['UseLegacyInstructions'] + Configure arguments: '-opensource -confirm-license -verbose -prefix /Users/qt/work/install -developer-build -release -no-pch -no-framework -qtnamespace TestNamespace -nomake tests -nomake examples -I/usr/local/opt/openssl/include' diff --git a/coin/platform_configs/qtdeclarative.yaml b/coin/platform_configs/qtdeclarative.yaml index 0d561b82..4675343e 100644 --- a/coin/platform_configs/qtdeclarative.yaml +++ b/coin/platform_configs/qtdeclarative.yaml @@ -26,3 +26,8 @@ Compiler: 'GCC' Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -developer-build -nomake examples -nomake tests -R . -openssl -device linux-generic-g++ -device-option CROSS_COMPILE=/opt/yocto-arm64/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux- -device-option DISTRO_OPTS=boot2qt -sysroot /opt/yocto-arm64/sysroots/aarch64-poky-linux -extprefix /home/qt/work/install -mysql_config /opt/yocto-arm64/sysroots/aarch64-poky-linux/usr/bin/mysql_config -psql_config /dev/null -tslib -no-xcb' Features: ['UseLegacyInstructions'] +- + Template: 'qtci-macos-10.14-x86_64' + Compiler: 'Clang' + Features: ['UseLegacyInstructions'] + Configure arguments: '-opensource -confirm-license -verbose -prefix /Users/qt/work/install -developer-build -release -no-pch -no-framework -qtnamespace TestNamespace -nomake tests -nomake examples -I/usr/local/opt/openssl/include'