summaryrefslogtreecommitdiffstats
path: root/coin/instructions/cmake_build_and_upload_test_artifacts_target.yaml
diff options
context:
space:
mode:
authorToni Saario <toni.saario@qt.io>2020-08-19 09:19:14 +0300
committerToni Saario <toni.saario@qt.io>2020-09-28 05:28:22 +0000
commitf26d4def67898eefcd1b54f2ffb7d7bf019de48d (patch)
tree74680903902ba3ce49e0207365fce83000736067 /coin/instructions/cmake_build_and_upload_test_artifacts_target.yaml
parent258bf0c58ebf725629c139bfb79a35ec3f00b0d9 (diff)
Read test specific configure arguments from environment
Reading configure arguments for tests from environment allows control of CMake args from outside of the module itself. TEST_CONFIGURE_ARGS is read and appended to host tests build and TARGET_TEST_CONFIGURE_ARGS respectively for target's tests. Change-Id: I8270b0254525aec24f7614cba2b90b291e5eb3d2 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'coin/instructions/cmake_build_and_upload_test_artifacts_target.yaml')
-rw-r--r--coin/instructions/cmake_build_and_upload_test_artifacts_target.yaml3
1 files changed, 3 insertions, 0 deletions
diff --git a/coin/instructions/cmake_build_and_upload_test_artifacts_target.yaml b/coin/instructions/cmake_build_and_upload_test_artifacts_target.yaml
index 3dd2844537..b34d408f4a 100644
--- a/coin/instructions/cmake_build_and_upload_test_artifacts_target.yaml
+++ b/coin/instructions/cmake_build_and_upload_test_artifacts_target.yaml
@@ -19,6 +19,9 @@ instructions:
condition: property
property: host.os
equals_value: Windows
+ - type: EnvironmentVariable
+ variableName: COIN_CMAKE_ARGS
+ variableValue: "{{.Env.TARGET_TEST_CONFIGURE_ARGS}}"
- !include "{{qt/qtbase}}/cmake_build_and_upload_test_artifacts.yaml"
disable_if:
condition: property