From 0b70d698c8ad314f5bbf4a13914293aefe7d200f Mon Sep 17 00:00:00 2001 From: Toni Saario Date: Thu, 29 Apr 2021 11:04:13 +0300 Subject: Run bic tests on linux packaging target MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Pick-to: 6.2 Task-number: QTQAINFRA-4338 Change-Id: Ie2682839139cc48887ee43b75a0dffe26805ad60 Reviewed-by: Qt CI Bot Reviewed-by: Milla Pohjanheimo Reviewed-by: Simo Fält --- .../cmake_run_ctest_enforce_exit_code.yaml | 39 ++++++++++++++++++++++ 1 file changed, 39 insertions(+) (limited to 'coin') 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 -- cgit v1.2.3