-
Notifications
You must be signed in to change notification settings - Fork 279
Closed
Labels
Description
It would be useful if the CLI args that are used to run each test/config were available programmatically (either in post_run
or through --export-json
). Something similar to:
ui.set_sim_option("ghdl.elab_e", True)
ui._args.elaborate = True
def post_func(results):
for key, val in results.args:
print(key) # entity.arch.config
print(val) # list of args (argv to GHDL)
vu.main(post_run=post_func)
In https://github.com/VUnit/vunit/pull/568/files#diff-d11203cc5c5e59bf50c8fe619e03e39d, I'm using a modified ghdl_interface to write the args to a txt file, as a workaround.
This would allow to indirectly retrieve the version of the standard, as commented in #577 (comment).