Skip to content
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

Make Test Generation work with a custom Z3 version #3

Merged
merged 8 commits into from
May 4, 2023

Conversation

Dargones
Copy link

@Dargones Dargones commented May 4, 2023

This PR should allow test generation to work with a custom Z3 binary and options. I also did some refactoring to make addition of new options easier in the future:

Basically, aside from adding a new option to the respective Options list, the only other requirement is to make sure that the new option and any side effects of setting that option are copied appropriately in the CopyForProcedure method of Source/DafnyTestGeneration/GenerateTestsCommand.cs.

I am not sure what is the appropriate way of copying the BoogieArguments and SolverPlugin options (do they have side effects?), so I disable them in the PR, but the only requirement is to make sure these options are appropriately copied in the CopyForProcedure method.

By submitting this pull request, I confirm that my contribution is made under the terms of the MIT license.

Copy link
Owner

@atomb atomb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for doing this!

@atomb atomb merged commit 309d694 into atomb:more-solver-options May 4, 2023
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.

2 participants