summaryrefslogtreecommitdiffstats
path: root/coin/instructions/cmake_regular_test_instructions.yaml
blob: 46123dcf96193dc8075dc3c2015c3aed78147dba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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: "ctest -V --rerun-failed"
    ignoreExitCode: true
    maxTimeInSeconds: 7200
    maxTimeBetweenOutput: 900
    userMessageOnFailure: >
      Failed to run tests.
disable_if:
  condition: property
  property: configureArgs
  contains_value: "-DBUILD_SHARED_LIBS=OFF"