-
Notifications
You must be signed in to change notification settings - Fork 141
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clean up handling of temporary files in test suite (#652)
* Don't write `test.aig` from `write_aiger` test I assume this was added for debugging purposes at some point. The test doesn't need it and the current working directory might not be writable. * Set the current working directory to a temporary directory when running tests The incoming current working directory may not be writable. * Propagate I/O errors when (de)serializing This is especially important when deserializing. If we don't catch errors after reading `size`, we may use its uninitialized value as a loop bound, which is very bad. * Add tests for I/O error propagation
- Loading branch information
1 parent
da7c921
commit b78357b
Showing
5 changed files
with
229 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.