From 840cc98bc0e4c0994918c97e7e5298e019a845e7 Mon Sep 17 00:00:00 2001 From: Pedro Algarvio Date: Mon, 23 Jan 2023 11:35:59 +0000 Subject: [PATCH] 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 --- tools/vm.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tools/vm.py b/tools/vm.py index a1ae12e6492..600da92d66a 100644 --- a/tools/vm.py +++ b/tools/vm.py @@ -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"