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

testfw: more permissive vunit argument filtering with --create-ghws

Most importantly, it allows to parallelize the generation with `-- -pN`.
parent 987b46de
......@@ -122,8 +122,10 @@ def test(obj, *, config, strict, create_ghws, vunit_args):
strict = bool(strict)
if create_ghws:
# discard the passed vunit_args, it does only evil
vunit_args = ['--elaborate']
# filter out "-g" (gui mode) - it causes problems.
# It's not 100% fool-proof, but should catch 99% of cases.
vunit_args = [a for a in vunit_args if a != '-g']
vunit_args += ['--elaborate']
ui = create_vunit(obj, vunit_args, out_basename)
......
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