forked from os-autoinst/os-autoinst
-
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.
Report test module failures via exit codes
- Introduced a `--exit-status-from-test-results` / `-e` flag to `isotovideo`. It'll inspect the test results after a full run and compute the exit code from them. If: - no test results exist: exit code = 100 - failed test results results exist: exit code = 101 (failed result => anything different than ok) else - exit code = 0 - Documented the flags in the perl pod section. - Unit tested with an empty distribution & a fail module distribution.
- Loading branch information
1 parent
bd10c5a
commit 9b3ed75
Showing
4 changed files
with
126 additions
and
6 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Copyright SUSE LLC | ||
# SPDX-License-Identifier: GPL-2.0-or-later | ||
|
||
use strict; | ||
use warnings; | ||
|
||
use testapi; | ||
use autotest; | ||
|
||
# intentionally not loading anything... | ||
|
||
1; |
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Copyright SUSE LLC | ||
# SPDX-License-Identifier: GPL-2.0-or-later | ||
|
||
use strict; | ||
use warnings; | ||
|
||
use testapi; | ||
use autotest; | ||
|
||
# intentionally not loading anything... | ||
|
||
1; |