Skip to content

Split static field test into two parts #4203

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

Conversation

smowton
Copy link
Contributor

@smowton smowton commented Feb 15, 2019

I realised validate-goto-model and show-goto-functions can't be used together, as validation happens after the show operation.

I realised validate-goto-model and show-goto-functions can't be used together,
as validation happens after the show operation.
@peterschrammel
Copy link
Member

I realised validate-goto-model and show-goto-functions can't be used together, as validation happens after the show operation.

Wouldn't it make sense to change that?

@smowton
Copy link
Contributor Author

smowton commented Feb 15, 2019

I think no, it's good to be able to use --show to inspect a validation failure

@peterschrammel
Copy link
Member

But to do that you can run --show-goto-functions without --validate-goto-model?

Copy link
Contributor

@allredj allredj left a 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: 7bf082d).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/101130298

@tautschnig
Copy link
Collaborator

Wouldn't it make sense to change that?

+1 to that: don't surprise the user.

smowton added a commit to smowton/cbmc that referenced this pull request Mar 14, 2019
Per a request in diffblue#4203 -- let's not surprise users
by show-goto-functions producing output when the model has failed validation (if they want
to view a broken model they can remove the validate parameter)
smowton added a commit to smowton/cbmc that referenced this pull request Mar 14, 2019
Per a request in diffblue#4203 -- let's not surprise users
by show-goto-functions producing output when the model has failed validation (if they want
to view a broken model they can remove the validate parameter)
smowton added a commit to smowton/cbmc that referenced this pull request Mar 15, 2019
Per a request in diffblue#4203 -- let's not surprise users
by show-goto-functions producing output when the model has failed validation (if they want
to view a broken model they can remove the validate parameter)
@smowton
Copy link
Contributor Author

smowton commented Mar 15, 2019

Moved validate-goto-model in #4389; therefore this is no longer needed.

@smowton smowton closed this Mar 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants