-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
coin: Decide whether to ignore CTest exit code based on environment var
This deduplicates some of the coin instruction files, and opens up the possibility for other instructions to determine whether a test run is significant or not. The only module still using the coin_module_test_template_v2 template is the QtMQTT module, so the behavior of ignore the test run has been kept. The static library opt out was a remnant from the cmake porting, and can be removed. Change-Id: I0f9fcbbd3a5a18bd9c8e0f545b0f0656e03bf388 Reviewed-by: Alexandru Croitor <[email protected]>
- Loading branch information
Showing
7 changed files
with
48 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,15 @@ | ||
type: Group | ||
instructions: | ||
- !include "{{qt/qtbase}}/cmake_regular_test_instructions_common.yaml" | ||
- !include "{{qt/qtbase}}/cmake_run_ctest_ignore_exit_code.yaml" | ||
disable_if: | ||
condition: property | ||
property: configureArgs | ||
contains_value: "-DBUILD_SHARED_LIBS=OFF" | ||
- 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" | ||
|
||
- !include "{{qt/qtbase}}/cmake_run_ctest.yaml" |
13 changes: 0 additions & 13 deletions
13
coin/instructions/cmake_regular_test_instructions_common.yaml
This file was deleted.
Oops, something went wrong.
4 changes: 0 additions & 4 deletions
4
coin/instructions/cmake_regular_test_instructions_enforced.yaml
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters