Commit 5a4198e8 authored by Martin Jeřábek's avatar Martin Jeřábek

tests: reference: fix adding gui layout file

parent 25d65110
......@@ -26,13 +26,12 @@ class ReferenceTests(TestsBase):
def configure(self) -> bool:
tb = self.lib.get_test_benches('*reference*')[0]
default = self.config['default']
self.add_modelsim_gui_file(tb, default, 'sanity')
tcl = / 'modelsim_init_reference.tcl'
with'wt', encoding='utf-8') as f:
global TCOMP
set TCOMP i_test
set TCOMP tb_reference_wrapper/i_test
'''), file=f)
init_files = get_common_modelsim_init_files()
......@@ -57,5 +56,5 @@ class ReferenceTests(TestsBase):
tb.add_config(data_set, generics=generics)
tb.set_sim_option("modelsim.init_files.after_load", init_files)
self.add_modelsim_gui_file(tb, cfg, data_set, init_files)
self.add_modelsim_gui_file(tb, default, 'reference', init_files)
return True
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment