From bc19eb6829cea2b3755022fb4b61bd39afb5a251 Mon Sep 17 00:00:00 2001 From: Boyan Date: Wed, 20 Nov 2024 19:39:16 +0100 Subject: [PATCH] Skip unnecessary outputs --- ucompile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ucompile b/ucompile index 970f174..e156648 100755 --- a/ucompile +++ b/ucompile @@ -26,7 +26,7 @@ def run_input_cases(program, verbose, output=False, tests_dir="."): result = subprocess.run(end_command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE, universal_newlines=True) program_output = result.stdout - if verbose: + if verbose and not output: print("Input:") print(input_data) print("")