mirror of
https://github.com/saltstack/salt.git
synced 2025-04-16 17:50:20 +00:00
Disable printing the system info for the vm test
command.
It's already shown with the `vm testplan` command which runs separately. Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
This commit is contained in:
parent
2741b41eca
commit
840cc98bc0
1 changed files with 5 additions and 0 deletions
|
@ -244,6 +244,7 @@ def test(
|
|||
rerun_failures: bool = False,
|
||||
skip_requirements_install: bool = False,
|
||||
print_tests_selection: bool = False,
|
||||
print_system_info: bool = False,
|
||||
skip_code_coverage: bool = False,
|
||||
):
|
||||
"""
|
||||
|
@ -265,6 +266,10 @@ def test(
|
|||
env["SKIP_CODE_COVERAGE"] = "1"
|
||||
else:
|
||||
env["SKIP_CODE_COVERAGE"] = "0"
|
||||
if print_system_info:
|
||||
env["PRINT_SYSTEM_INFO"] = "1"
|
||||
else:
|
||||
env["PRINT_SYSTEM_INFO"] = "0"
|
||||
if (
|
||||
skip_requirements_install
|
||||
or os.environ.get("SKIP_REQUIREMENTS_INSTALL", "0") == "1"
|
||||
|
|
Loading…
Add table
Reference in a new issue