-
Notifications
You must be signed in to change notification settings - Fork 92
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
Delay printing playback harness until after verification status #2480
Delay printing playback harness until after verification status #2480
Conversation
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.
Have you tried running concrete playback with --inplace. Does the behavior of pasting the unit test into the source get impacted by this change? Even if it's not, I think it would be good to have a few regression tests with inplace just so we know the impact.
Good pt. I don't think so, but let me write another test to be sure. |
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.
May I suggest a different approach? Can you move the call to gen_and_add_concrete_playback()
to harness_runner
module instead of call_cbmc
. We need to make sure that call is made after the result was rendered.
@celinval I can do that. |
@celinval thanks for the suggestion. This was way easier, no change to |
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.
Awesome! Thanks
Description of changes:
Delay printing of harness until the verification status message is printed.
Resolved issues:
Resolves #2462
Call-outs:
Again, not familiar with testing this feature, so feel free to suggest any improvements on that front.
Testing:
How is this change tested?
tests/ui/concrete-playback/message-order
Is this a refactor change? No
Checklist
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.