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:
Pedro Algarvio 2023-01-23 11:35:59 +00:00 committed by Megan Wilhite
parent 2741b41eca
commit 840cc98bc0

View file

@ -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"