Allow verbose output from scripts with one -v and not unit test

This commit is contained in:
mrg 2020-12-01 11:18:27 -08:00
parent fb4cf0d4d1
commit b621c3bdc0
2 changed files with 5 additions and 5 deletions

View File

@ -19,7 +19,7 @@ from globals import OPTS
def run_script(cell_name, script="lvs"): def run_script(cell_name, script="lvs"):
""" Run script and create output files. """ """ Run script and create output files. """
echo_cmd_output = OPTS.verbose_level > 1 echo_cmd_output = OPTS.verbose_level > 0 and not OPTS.is_unit_test
cwd = os.getcwd() cwd = os.getcwd()
os.chdir(OPTS.openram_temp) os.chdir(OPTS.openram_temp)