From 3379f46da1d336a379697aa9cd8c0571eda3c3a1 Mon Sep 17 00:00:00 2001 From: mrg Date: Tue, 30 Jun 2020 16:22:44 -0700 Subject: [PATCH] Fail unit test, but mention if LVS passes and DRC fails. --- compiler/tests/testutils.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/compiler/tests/testutils.py b/compiler/tests/testutils.py index 4a58cfe2..a8da9fb4 100644 --- a/compiler/tests/testutils.py +++ b/compiler/tests/testutils.py @@ -57,8 +57,7 @@ class openram_test(unittest.TestCase): # zip_file = "/tmp/{0}_{1}".format(a.name, os.getpid()) # debug.info(0, "Archiving failed files to {}.zip".format(zip_file)) # shutil.make_archive(zip_file, 'zip', OPTS.openram_temp) - debug.warning("DRC failed but LVS passed: {}".format(a.name)) - # self.fail("DRC failed but LVS passed: {}".format(a.name)) + self.fail("DRC failed but LVS passed: {}".format(a.name)) elif drc_result != 0: # import shutil # zip_file = "/tmp/{0}_{1}".format(a.name, os.getpid())