Skip unnecessary outputs
This commit is contained in:
parent
1c98618d65
commit
bc19eb6829
2
ucompile
2
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)
|
result = subprocess.run(end_command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE, universal_newlines=True)
|
||||||
program_output = result.stdout
|
program_output = result.stdout
|
||||||
|
|
||||||
if verbose:
|
if verbose and not output:
|
||||||
print("Input:")
|
print("Input:")
|
||||||
print(input_data)
|
print(input_data)
|
||||||
print("")
|
print("")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user