summaryrefslogtreecommitdiffstats
path: root/coin
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@qt.io>2019-06-25 16:32:11 +0200
committerJędrzej Nowacki <jedrzej.nowacki@qt.io>2019-07-01 11:33:26 +0000
commit5488c380d1c53bd846f44a63afad03d934c44d62 (patch)
tree5709dbec9af5b198dadad924a3ef5af76d0ce7c2 /coin
parentdea8520bf145e1650a537861900e7abd439d1c0c (diff)
Fix symmetry between test artifact handling
The module yaml file provides the instruction for creating and upload the test artifacts, it might as well provide the instruction for downloading it. Coin sets the corresponding environment variable for the storage path now. Change-Id: I4aabe60e28c0c1a6d5934b3b7b797835a793a7fe Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@qt.io>
Diffstat (limited to 'coin')
-rw-r--r--coin/module_config.yaml7
1 files changed, 7 insertions, 0 deletions
diff --git a/coin/module_config.yaml b/coin/module_config.yaml
index 8d864085ac..be7882f0b3 100644
--- a/coin/module_config.yaml
+++ b/coin/module_config.yaml
@@ -263,6 +263,13 @@ build_instructions:
maxTimeBetweenOutput: 1200
test_instructions:
+ - type: InstallTestBinaryArchive
+ relativeStoragePath: "{{.Env.MODULE_ARTIFACTS_RELATIVE_STORAGE_PATH}}"
+ directory: "{{.SourceDir}}/tests"
+ maxTimeInSeconds: 1200
+ maxTimeBetweenOutput: 1200
+ userMessageOnFailure: >
+ Failed to install tests archive.
- type: ChangeDirectory
directory: "{{.SourceDir}}/tests"
- type: ExecuteCommand