Skip to content

Commit

Permalink
Use correct back end config file.
Browse files Browse the repository at this point in the history
  • Loading branch information
mguthaus committed Apr 29, 2019
1 parent 8d8565b commit 534c6b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions compiler/tests/30_openram_back_end_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class openram_test(openram_test):

def runTest(self):
OPENRAM_HOME = os.path.abspath(os.environ.get("OPENRAM_HOME"))
globals.init_openram("{0}/tests/config_{1}_back_end".format(OPENRAM_HOME,OPTS.tech_name))
globals.init_openram("{0}/tests/config_{1}".format(OPENRAM_HOME,OPTS.tech_name))

debug.info(1, "Testing top-level back-end openram.py with 2-bit, 16 word SRAM.")
out_file = "testsram"
Expand Down Expand Up @@ -54,7 +54,7 @@ def runTest(self):
exe_name = "{0}/openram.py ".format(OPENRAM_HOME)
else:
exe_name = "coverage run -p {0}/openram.py ".format(OPENRAM_HOME)
config_name = "{0}config_{1}.py".format(OPENRAM_HOME + "/tests/",OPTS.tech_name)
config_name = "{0}config_{1}_back_end.py".format(OPENRAM_HOME + "/tests/",OPTS.tech_name)
cmd = "{0} -n -o {1} -p {2} {3} {4} 2>&1 > {5}/output.log".format(exe_name,
out_file,
out_path,
Expand Down

0 comments on commit 534c6b3

Please sign in to comment.