Undo changes for config expansion. Change unit tests to use OPENRAM_HOME.

This commit is contained in:
Matthew Guthaus
2019-11-15 18:47:59 +00:00
parent 7e9d08206c
commit c4cf8134fe
111 changed files with 272 additions and 147 deletions
@@ -20,7 +20,8 @@ import debug
class write_driver_test(openram_test):
def runTest(self):
globals.init_openram("{}/config".format(OPTS.tech_name))
config_file = "{}/tests/{}/config".format(os.getenv("OPENRAM_HOME"), OPTS.tech_name)
globals.init_openram(config_file)
# check write driver array for single port
debug.info(2, "Testing write_driver_array for columns=8, word_size=8, write_size=4")
@@ -58,4 +59,4 @@ if __name__ == "__main__":
(OPTS, args) = globals.parse_args()
del sys.argv[1:]
header(__file__, OPTS.tech_name)
unittest.main(testRunner=debugTestRunner())
unittest.main(testRunner=debugTestRunner())