From 5e99a39de95d0aa34855e9c957a9699c2479dfed Mon Sep 17 00:00:00 2001 From: Abdoulbari Zakir Date: Thu, 7 Nov 2024 13:37:20 +0100 Subject: [PATCH] print logs --- .../end_to_end/cucumber/features/steps/steps.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/tests/end_to_end/cucumber/features/steps/steps.py b/tests/end_to_end/cucumber/features/steps/steps.py index 65187f61d..513e2032a 100644 --- a/tests/end_to_end/cucumber/features/steps/steps.py +++ b/tests/end_to_end/cucumber/features/steps/steps.py @@ -97,14 +97,14 @@ def run_command(study_path, memory, method, n_mpi, allow_run_as_root=False): print(f"Running command: {command}") process = subprocess.Popen(command, stdout=subprocess.PIPE, stderr=subprocess.DEVNULL, shell=True) out, err = process.communicate() - if process.returncode != 0: - print("*********************** Begin stdout ***********************") - print(out) - print("*********************** End stdout ***********************") - - print("*********************** Begin stderr ***********************") - print(err) - print("*********************** End stderr ***********************") + # if process.returncode != 0: + print("*********************** Begin stdout ***********************") + print(out) + print("*********************** End stdout ***********************") + + print("*********************** Begin stderr ***********************") + print(err) + print("*********************** End stderr ***********************") return process.returncode