mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-17 10:10:25 +00:00
Salt testing parsers now print the overall results header.
This commit is contained in:
parent
d9d605a1c4
commit
41f88862a2
1 changed files with 4 additions and 6 deletions
|
@ -27,7 +27,7 @@ HTML_OUTPUT_DIR = os.environ.get(
|
|||
)
|
||||
)
|
||||
|
||||
from salttesting.parser import SaltTestingParser, print_header
|
||||
from salttesting.parser import SaltTestingParser
|
||||
from salttesting.ext.os_data import GRAINS
|
||||
|
||||
|
||||
|
@ -97,12 +97,10 @@ def main():
|
|||
status = parser.run_integration_suite('Installation', '*install.py')
|
||||
overall_status.append(status)
|
||||
|
||||
parser.print_overall_testsuite_report()
|
||||
|
||||
if overall_status.count(False) > 0:
|
||||
# We have some false results, the test-suite failed
|
||||
parser.exit(1)
|
||||
parser.exit(0)
|
||||
parser.finalize(1)
|
||||
parser.finalize(0)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
Loading…
Add table
Reference in a new issue