Fail when using Magic/netgen for DRC/LVS. Remove arguments in running precharge test.

This commit is contained in:
Matt Guthaus 2017-12-12 13:06:01 -08:00
parent 09ca8ba17d
commit 1085497476
2 changed files with 3 additions and 2 deletions

View File

@ -48,5 +48,6 @@ class precharge_test(unittest.TestCase):
# instantiate a copy of the class to actually run the test
if __name__ == "__main__":
(OPTS, args) = globals.parse_args()
del sys.argv[1:]
header(__file__, OPTS.tech_name)
unittest.main()

View File

@ -65,7 +65,7 @@ def run_drc(name, gds_name):
implemented in gds_name."""
debug.warning("DRC using magic not implemented.")
return 0
return 1
# the runset file contains all the options to run drc
from tech import drc
@ -139,7 +139,7 @@ def run_lvs(name, gds_name, sp_name):
implemented in gds_name and sp_name. """
debug.warning("LVS using magic+netgen not implemented.")
return 0
return 1
from tech import drc
lvs_rules = drc["lvs_rules"]