-
Notifications
You must be signed in to change notification settings - Fork 274
Functions for outputting options #3129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Functions for outputting options #3129
Conversation
Should probably add a simple user / test at the same time? |
FWIW I'm planning on not only doing this but also dumping a check sum of the analyzer binary and the input goto-program to help make the chain of reproducibility as strong as possible. So, +1, sounds good to me. |
9caa6b9
to
f11668b
Compare
Added XML support and JBMC as example user. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Passed Diffblue compatibility checks (cbmc commit: f11668b).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/87405251
Great, now it's easy to add a simple regression test ;) |
jbmc/src/jbmc/jbmc_parse_options.cpp
Outdated
switch(ui_message_handler.get_ui()) | ||
{ | ||
case ui_message_handlert::uit::PLAIN: | ||
options.output(debug()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe you could use conditional_output(debug(), options.output);
This can be used to output the options set at the beginning of an analysis in order to understand the settings.
f11668b
to
7752db3
Compare
@smowton, added. |
@peterschrammel: That newly added test is failing, it seems the options are not actually printed. |
4 similar comments
@peterschrammel: That newly added test is failing, it seems the options are not actually printed. |
@peterschrammel: That newly added test is failing, it seems the options are not actually printed. |
@peterschrammel: That newly added test is failing, it seems the options are not actually printed. |
@peterschrammel: That newly added test is failing, it seems the options are not actually printed. |
7752db3
to
a292737
Compare
@peterschrammel: That newly added test is failing, it seems the options are not actually printed. |
1 similar comment
@peterschrammel: That newly added test is failing, it seems the options are not actually printed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Passed Diffblue compatibility checks (cbmc commit: 5b8d9a3).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/88728095
This can be used to output the options set at the beginning
of an analysis in order to understand the settings.