From 1085497476c4edf3799a05ae9c2456508bc40176 Mon Sep 17 00:00:00 2001 From: Matt Guthaus Date: Tue, 12 Dec 2017 13:06:01 -0800 Subject: [PATCH] Fail when using Magic/netgen for DRC/LVS. Remove arguments in running precharge test. --- compiler/tests/04_precharge_test.py | 1 + compiler/verify/magic.py | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/compiler/tests/04_precharge_test.py b/compiler/tests/04_precharge_test.py index 556aeeb6..5f6ce2f6 100644 --- a/compiler/tests/04_precharge_test.py +++ b/compiler/tests/04_precharge_test.py @@ -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() diff --git a/compiler/verify/magic.py b/compiler/verify/magic.py index 97044bc2..966266a4 100644 --- a/compiler/verify/magic.py +++ b/compiler/verify/magic.py @@ -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"]