From 3f94e228609caed70279bcf84d199e72c7180cf5 Mon Sep 17 00:00:00 2001 From: Bugra Onal Date: Wed, 19 Apr 2023 18:44:09 -0700 Subject: [PATCH] Fixed memchar test output name --- compiler/tests/30_memchar_test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/tests/30_memchar_test.py b/compiler/tests/30_memchar_test.py index 5c272b64..b9a41fd7 100755 --- a/compiler/tests/30_memchar_test.py +++ b/compiler/tests/30_memchar_test.py @@ -23,14 +23,14 @@ class sram_char_test(openram_test): global OPTS out_file = "testsram" out_path = "{0}/testsram_{1}_{2}_{3}".format(OPTS.openram_temp, OPTS.tech_name, getpass.getuser(), os.getpid()) - OPTS.output_name = out_file + OPTS.output_name = "sram_2_16_1_{0}".format(OPTS.tech_name) OPTS.output_path = out_path OPENRAM_HOME = os.path.abspath(os.environ.get("OPENRAM_HOME")) config_file = "{}/tests/configs/config_mem_char_func".format(OPENRAM_HOME) openram.init_openram(config_file, is_unit_test=False) - sp_file = "{0}/tests/sp_files/sram_2_16_1_{1}.sp".format(OPENRAM_HOME, OPTS.tech_name) + sp_file = "{0}/tests/sp_files/{1}.sp".format(OPENRAM_HOME, OPTS.output_name) debug.info(1, "Testing commandline characterizer script sram_char.py with 2-bit, 16 word SRAM.")