Feature for building tests in test workitem
This allows to run tests larger in size where the test transfer becomes an issue. Change-Id: Ic8647f9c88233f4fcff15c350540e00dfb642b47 Reviewed-by: Simo Fält <simo.falt@qt.io>
This commit is contained in:
parent
04abebd665
commit
b7929534ef
@ -79,3 +79,6 @@ instructions:
|
||||
- condition: property
|
||||
property: features
|
||||
contains_value: DoNotUploadTests
|
||||
- condition: property
|
||||
property: features
|
||||
contains_value: BuildTestsInTest
|
||||
|
24
coin/instructions/cmake_build_tests_in_test_stage.yaml
Normal file
24
coin/instructions/cmake_build_tests_in_test_stage.yaml
Normal file
@ -0,0 +1,24 @@
|
||||
# Builds tests in test workitem.
|
||||
# This avoids upload of tests which can be too large to upload to coin.
|
||||
|
||||
type: Group
|
||||
instructions:
|
||||
- !include "{{qt/qtbase}}/prepare_building_env.yaml"
|
||||
- type: Group
|
||||
instructions:
|
||||
- !include "{{qt/qtbase}}/cmake_build_and_upload_test_artifacts_host.yaml"
|
||||
disable_if:
|
||||
condition: property
|
||||
property: target.osVersion
|
||||
in_values: [Android_ANY, QEMU, IOS_ANY, QNX_710, WebAssembly, INTEGRITY, VxWorks]
|
||||
- type: Group
|
||||
instructions:
|
||||
- !include "{{qt/qtbase}}/cmake_build_and_upload_test_artifacts_target.yaml"
|
||||
enable_if:
|
||||
condition: property
|
||||
property: target.osVersion
|
||||
in_values: [Android_ANY, QEMU, IOS_ANY, QNX_710, WebAssembly, INTEGRITY, VxWorks]
|
||||
enable_if:
|
||||
condition: property
|
||||
property: features
|
||||
contains_value: BuildTestsInTest
|
@ -9,6 +9,10 @@ instructions:
|
||||
maxTimeBetweenOutput: 1200
|
||||
userMessageOnFailure: >
|
||||
Failed to install tests archive.
|
||||
enable_if:
|
||||
condition: property
|
||||
property: features
|
||||
not_contains_value: "BuildTestsInTest"
|
||||
- type: ChangeDirectory
|
||||
directory: "{{.SourceDir}}_standalone_tests"
|
||||
|
||||
|
@ -9,6 +9,7 @@ instructions:
|
||||
contains_value: LicenseCheckV2
|
||||
- type: Group
|
||||
instructions:
|
||||
- !include "{{qt/qtbase}}/cmake_build_tests_in_test_stage.yaml"
|
||||
- !include "{{qt/qtbase}}/coin_module_test_template_common.yaml"
|
||||
- type: Group
|
||||
instructions:
|
||||
|
Loading…
x
Reference in New Issue
Block a user