summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitrios Apostolou <[email protected]>2025-12-04 20:01:20 +0100
committerDimitrios Apostolou <[email protected]>2025-12-12 00:11:09 +0100
commitde899ca972712e1e41e8f5319f2043e22966422f (patch)
tree7091fd2dd885c4c39b6c3d78f233df3d798e08c5
parentb4c9b7ceef5e42606a4ec8cf343068a26af6655a (diff)
Always do ctest --output-junit
All our supported versions of CMake now support it, since minimum supported version is 3.22 and the option was added in 3.21. Pick-to: 6.11 6.10 Change-Id: Ie6427c00c9da1f23209f399c5770e687cb01a60b Reviewed-by: Alexandru Croitor <[email protected]>
-rw-r--r--coin/instructions/cmake_run_ctest.yaml11
1 files changed, 1 insertions, 10 deletions
diff --git a/coin/instructions/cmake_run_ctest.yaml b/coin/instructions/cmake_run_ctest.yaml
index 43963fc172b..03312101117 100644
--- a/coin/instructions/cmake_run_ctest.yaml
+++ b/coin/instructions/cmake_run_ctest.yaml
@@ -92,19 +92,10 @@ instructions:
variableName: CTEST_ARGS
variableValue: " --no-label-summary"
- # Enable CTest's JUnit XML summary
+ # Enable CTest's JUnit XML summary, supported in CMake >= v3.21
- type: AppendToEnvironmentVariable
variableName: CTEST_ARGS
variableValue: " --output-junit {{.Env.COIN_CTEST_RESULTSDIR}}{{.Env.CI_PATH_SEP}}test_summary.ctest_junit_xml"
- disable_if: # CMake < v3.21 does not support it
- condition: and
- conditions:
- - condition: runtime
- env_var: CMAKE_MIN_SUPPORTED_BIN_PATH
- not_equals_value: null
- - condition: runtime
- env_var: PATH
- contains_value: "{{.Env.CMAKE_MIN_SUPPORTED_BIN_PATH}}"
- !include "{{qt/qtbase}}/coin_module_test_android_start_emulator.yaml"