aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPasi Petäjäjärvi <pasi.petajajarvi@qt.io>2022-04-01 15:59:49 +0300
committerPasi Petäjäjärvi <pasi.petajajarvi@qt.io>2022-04-01 17:18:19 +0000
commitfccc9126553d09efabb9589679907b071bcb3be9 (patch)
tree305d1387ffd9bd694459a17d3982c0bad6781e76
parent0574df28c6f55b73a378f07962ea1dc57088404f (diff)
CI: Add env variable to indicate we are running tests in CI
Some tests change what they test depending if this env variable is set. This was left out from 6.2 and 6.3 branches accidentally as it was added only for dev branch at fba918784f966db73c8e4d2b665ac6666f6f3229 as part of bigger cleanup which introduced usage of qt-testrunner.py insted. Pick-to: 6.2 Change-Id: I0f55e42a6ae5b64132d13812ae0567975aedaa0e Reviewed-by: Dimitrios Apostolou <jimis@qt.io>
-rw-r--r--coin/platform_configs/cmake_platforms_qemu_qnx710.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/coin/platform_configs/cmake_platforms_qemu_qnx710.yaml b/coin/platform_configs/cmake_platforms_qemu_qnx710.yaml
index cc67fbf2..4de662ba 100644
--- a/coin/platform_configs/cmake_platforms_qemu_qnx710.yaml
+++ b/coin/platform_configs/cmake_platforms_qemu_qnx710.yaml
@@ -11,7 +11,7 @@ Configurations:
Environment variables: [
'TARGET_CONFIGURE_ARGS=-DFEATURE_developer_build=ON -DQT_FEATURE_dbus=OFF -DQT_BUILD_EXAMPLES=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_TOOLCHAIN_FILE={{.Env.QNX_710}}/qnx-toolchain-x8664.cmake',
'QT_CMAKE_DIR=/opt/cmake-3.21.1/bin',
- "TESTARGS='{{.Env.QNX_QEMU_SSH}} LD_LIBRARY_PATH={{.Env.QNX_QEMU_LD_LIBRARY_PATH}} QSG_RHI_BACKEND=software QT_QPA_PLATFORM=offscreen'",
+ "TESTARGS='{{.Env.QNX_QEMU_SSH}} LD_LIBRARY_PATH={{.Env.QNX_QEMU_LD_LIBRARY_PATH}} QSG_RHI_BACKEND=software QT_QPA_PLATFORM=offscreen QTEST_ENVIRONMENT=ci'",
"TESTRUNNER='python3 {{.SourceDir}}/coin_qnx_qemu_runner.py'",
"COIN_CTEST_RESULTSDIR=/home/qt/work",
'NON_QTBASE_TARGET_CONFIGURE_ARGS=']