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>
bb10
Simon Hausmann 2019-06-25 16:32:11 +02:00 committed by Jędrzej Nowacki
parent dea8520bf1
commit 5488c380d1
1 changed files with 7 additions and 0 deletions

View File

@ -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