Commit c45285b5 authored by Martin Jeřábek's avatar Martin Jeřábek

testfw: test_sanity: fix adding gui file, fix multiple configurations

parent efaef055
...@@ -57,7 +57,6 @@ class SanityTests(TestsBase): ...@@ -57,7 +57,6 @@ class SanityTests(TestsBase):
# TODO: wave # TODO: wave
tb = self.lib.get_test_benches('*tb_sanity')[0] tb = self.lib.get_test_benches('*tb_sanity')[0]
default = self.config['default'] default = self.config['default']
self.add_modelsim_gui_file(tb, default, 'sanity')
for name, cfg in self.config['tests'].items(): for name, cfg in self.config['tests'].items():
if 'wave' in cfg: if 'wave' in cfg:
log.warn('"wave" in sanity test config {} is ignored' + log.warn('"wave" in sanity test config {} is ignored' +
...@@ -92,4 +91,5 @@ class SanityTests(TestsBase): ...@@ -92,4 +91,5 @@ class SanityTests(TestsBase):
else: else:
tb.add_config(name, generics=generics) tb.add_config(name, generics=generics)
return True self.add_modelsim_gui_file(tb, default, 'sanity')
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