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

Execute model checkers in a temporary directory #33

Closed
andrey-kuprianov opened this issue Mar 22, 2021 · 1 comment · Fixed by #48
Closed

Execute model checkers in a temporary directory #33

andrey-kuprianov opened this issue Mar 22, 2021 · 1 comment · Fixed by #48
Assignees

Comments

@andrey-kuprianov
Copy link
Contributor

Currently the model checkers (Apalache and TLC) are run in the same directory where the executable is called. This pollutes the directory, and also has the possibility of name clashes. We need to execute model checkers in a temporary directory, similar to how it's done in Tendermint-rs LightClient tests. This also simplifies the cleanup task -- simply delete the tempdir.

@andrey-kuprianov
Copy link
Contributor Author

This is necessary in order to fix #43, which in turn is a prerequisite for #44.

andrey-kuprianov added a commit that referenced this issue Jul 21, 2021
closes #33 : 
* copy TLA files into a tempdir
* use tempdir as curdir; disble incompatible tests
* allow unused_imports, dead_code at crate level
* remove walkdir dependency


Co-authored-by: Ranadeep Biswas <ranadeep@informal.systems>
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 a pull request may close this issue.

1 participant