aboutsummaryrefslogtreecommitdiffstats
path: root/coin/instructions/execute_test_instructions.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'coin/instructions/execute_test_instructions.yaml')
-rw-r--r--coin/instructions/execute_test_instructions.yaml39
1 files changed, 39 insertions, 0 deletions
diff --git a/coin/instructions/execute_test_instructions.yaml b/coin/instructions/execute_test_instructions.yaml
new file mode 100644
index 000000000..22a980663
--- /dev/null
+++ b/coin/instructions/execute_test_instructions.yaml
@@ -0,0 +1,39 @@
+type: Group
+enable_if:
+ condition: property
+ property: features
+ not_contains_value: LicenseCheck
+instructions:
+ - type: EnvironmentVariable
+ variableName: QTEST_ENVIRONMENT
+ variableValue: "ci"
+ - type: ExecuteCommand
+ command: "python -u coin_test_instructions.py --os={{.Env.CI_OS}} {{.Env.CI_PACKAGING_FEATURE}} --instdir=/Users/qt/work/install --targetOs={{.Env.CI_OS}} --hostArch=X86_64 --targetArch={{.Env.CI_TARGET_ARCHITECTURE}}"
+ maxTimeInSeconds: 14400
+ maxTimeBetweenOutput: 1200
+ enable_if:
+ condition: property
+ property: host.os
+ equals_value: MacOS
+ userMessageOnFailure: >
+ Failed to execute test instructions on osx
+ - type: ExecuteCommand
+ command: "python -u coin_test_instructions.py --os={{.Env.CI_OS}} {{.Env.CI_PACKAGING_FEATURE}} --instdir=/home/qt/work/install --targetOs={{.Env.CI_OS}} --hostArch=X86_64 --targetArch={{.Env.CI_TARGET_ARCHITECTURE}}"
+ maxTimeInSeconds: 14400
+ maxTimeBetweenOutput: 600
+ enable_if:
+ condition: property
+ property: host.os
+ equals_value: Linux
+ userMessageOnFailure: >
+ Failed to execute test instructions on Linux
+ - type: ExecuteCommand
+ command: "c:\\users\\qt\\MSVC.bat python -u coin_test_instructions.py --os={{.Env.CI_OS}} {{.Env.CI_PACKAGING_FEATURE}} --instdir=\\Users\\qt\\work\\install --targetOs={{.Env.CI_OS}} --hostArch=X86_64 --targetArch={{.Env.CI_TARGET_ARCHITECTURE}}"
+ maxTimeInSeconds: 14400
+ maxTimeBetweenOutput: 600
+ enable_if:
+ condition: property
+ property: host.os
+ equals_value: Windows
+ userMessageOnFailure: >
+ Failed to execute test instructions on 64 bit Windows