23 lines
681 B
YAML
23 lines
681 B
YAML
|
type: Group
|
||
|
instructions:
|
||
|
- type: InstallTestBinaryArchive
|
||
|
relativeStoragePath: "{{.Env.MODULE_ARTIFACTS_RELATIVE_STORAGE_PATH}}/tests.tar.gz"
|
||
|
directory: "{{.SourceDir}}/tests"
|
||
|
maxTimeInSeconds: 1200
|
||
|
maxTimeBetweenOutput: 1200
|
||
|
userMessageOnFailure: >
|
||
|
Failed to install tests archive.
|
||
|
- type: ChangeDirectory
|
||
|
directory: "{{.SourceDir}}/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"
|