Run tests using ctest
As an initial way this allows running tests. Coin does not yet collect the results and the logic for re-running is inside ctest. Change-Id: Ieab619d5f8f4ebdd8cd1293489db36d0bbd7c74a Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@qt.io> Reviewed-by: Liang Qi <liang.qi@qt.io>bb10
parent
ccc581c9fd
commit
dea8520bf1
|
|
@ -261,3 +261,14 @@ build_instructions:
|
|||
archiveDirectory: "{{.SourceDir}}/tests"
|
||||
maxTimeInSeconds: 1200
|
||||
maxTimeBetweenOutput: 1200
|
||||
|
||||
test_instructions:
|
||||
- type: ChangeDirectory
|
||||
directory: "{{.SourceDir}}/tests"
|
||||
- type: ExecuteCommand
|
||||
command: "ctest -V --rerun-failed"
|
||||
ignoreExitCode: true
|
||||
maxTimeInSeconds: 7200
|
||||
maxTimeBetweenOutput: 900
|
||||
userMessageOnFailure: >
|
||||
Failed to run tests.
|
||||
|
|
|
|||
Loading…
Reference in New Issue