DRC/LVS and errors fixes.

Only enact pdb if assert fails in debug.error.
Only run drc/lvs one time in parse_info by saving result.
Cleanup drc/lvs output.
This commit is contained in:
Matt Guthaus
2020-06-30 07:16:05 -07:00
parent 372a8a728e
commit 9b939c9a1a
5 changed files with 26 additions and 20 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ def error(str, return_value=0):
log("ERROR: file {0}: line {1}: {2}\n".format(
os.path.basename(filename), line_number, str))
if globals.OPTS.debug_level > 0:
if globals.OPTS.debug_level > 0 and return_value != 0:
import pdb
pdb.set_trace()
assert return_value == 0