From e817b02adedf2bc542bcbff02c78c60f3bcd7cec Mon Sep 17 00:00:00 2001 From: mrg Date: Mon, 30 Nov 2020 09:38:42 -0800 Subject: [PATCH] Fix syntax error. Enable script echo on -v -v. --- compiler/verify/run_script.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/compiler/verify/run_script.py b/compiler/verify/run_script.py index 8fda376c..05a9afb9 100644 --- a/compiler/verify/run_script.py +++ b/compiler/verify/run_script.py @@ -19,8 +19,7 @@ from globals import OPTS def run_script(cell_name, script="lvs"): """ Run script and create output files. """ - # FIXME: Set this value based on options somewhere - echo_cmd_output = True + echo_cmd_output = OPTS.verbose_level > 1 cwd = os.getcwd() os.chdir(OPTS.openram_temp) @@ -62,7 +61,7 @@ def run_script(cell_name, script="lvs"): p.wait() # Kill the tail commands if they haven't finished. - if cmd_output: + if echo_cmd_output: if tailo.poll() != None: tailo.kill() tailo.wait()