summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--coin/instructions/cmake_run_ctest_enforce_exit_code.yaml39
1 files changed, 39 insertions, 0 deletions
diff --git a/coin/instructions/cmake_run_ctest_enforce_exit_code.yaml b/coin/instructions/cmake_run_ctest_enforce_exit_code.yaml
index 5e57b50951..04cbab53f6 100644
--- a/coin/instructions/cmake_run_ctest_enforce_exit_code.yaml
+++ b/coin/instructions/cmake_run_ctest_enforce_exit_code.yaml
@@ -59,3 +59,42 @@ instructions:
maxTimeBetweenOutput: 900
userMessageOnFailure: >
Failed to run tests.
+
+ - type: Group
+ instructions:
+ - type: EnvironmentVariable
+ variableName: QT_MODULE_TO_TEST
+ variableValue: "{{.SourceDir}}"
+ - type: PrependToEnvironmentVariable
+ variableName: PATH
+ variableValue: "{{.InstallDir}}/bin:"
+ - type: InstallSourceArchive
+ maxTimeInSeconds: 600
+ maxTimeBetweenOutput: 600
+ project: qt/qtqa
+ ref: dev
+ directory: qt/qtqa
+ userMessageOnFailure: "Could not install qt/qtqa source archive. Please investigate why."
+ - type: ChangeDirectory
+ directory: "{{.AgentWorkingDir}}/qt/qtqa/tests/postbuild/bic"
+ - type: ExecuteCommand
+ command: ["{{.InstallDir}}/bin/qmake"]
+ maxTimeInSeconds: 7200
+ maxTimeBetweenOutput: 300
+ userMessageOnFailure: "Failed to execute qmake for bic tests"
+ - type: RunQtUnitTest
+ runTestCommand: ["make", "check", "-j1"]
+ directory: "{{.AgentWorkingDir}}/qt/qtqa/tests/postbuild/bic"
+ testRepetitionAllowance: 0
+ maxTimeInSeconds: 7200
+ maxTimeBetweenOutput: 300
+ userMessageOnFailure: "Running bic tests failed."
+ enable_if:
+ condition: and
+ conditions:
+ - condition: property
+ property: features
+ contains_value: Packaging
+ - condition: property
+ property: target.os
+ equals_value: Linux