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

testfw: use ghdl.gtkwave_flags instead of ghdl.gtkw_file

For now, ghdl.gtkw_file is kept there as a fallback for backward
compatibility. May be removed after some time.
parent fef8e8e7
......@@ -94,9 +94,12 @@ class TestsBase:
if gtkw:
try:
tb.set_sim_option("ghdl.gtkw_file", str(gtkw))
tb.set_sim_option("ghdl.gtkwave_flags", ['--save='+str(gtkw)])
except ValueError:
log.warning('Setting GTKW file per test is not supported in this VUnit version.')
try:
tb.set_sim_option("ghdl.gtkw_file", str(gtkw))
except ValueError:
log.warning('Setting GTKW file per test is not supported in this VUnit version.')
def add_sources(lib, patterns) -> None:
for pattern in patterns:
......
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