summaryrefslogtreecommitdiffstats
path: root/coin/instructions/cmake_regular_test_instructions_common.yaml
blob: 3a9e75c576adfacd4dc6ad70fa68382327c7cd76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
type: Group
instructions:
  - type: MakeDirectory
    directory: "{{.SourceDir}}_standalone_tests"
  - type: InstallTestBinaryArchive
    relativeStoragePath: "{{.Env.MODULE_ARTIFACTS_RELATIVE_STORAGE_PATH}}/tests.tar.gz"
    directory: "{{.SourceDir}}_standalone_tests"
    maxTimeInSeconds: 1200
    maxTimeBetweenOutput: 1200
    userMessageOnFailure: >
      Failed to install tests archive.
  - type: ChangeDirectory
    directory: "{{.SourceDir}}_standalone_tests"
  - type: ExecuteCommand
    command: "ln -s {{.InstallDir}}/target fake_prefix"
    maxTimeInSeconds: 6000
    maxTimeBetweenOutput: 1200
    userMessageOnFailure: >
      Failed to run android hack. See QTBUG-88579 to check if this can be removed
    enable_if:
      condition: property
      property: features
      contains_value: AndroidTestRun