-
-
Notifications
You must be signed in to change notification settings - Fork 29
Add Linux-specific gzopen options and more tests #332
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
|
My new test cases try to create temp files and directories, and the wasm32 run is failing with: |
folkertdev
left a comment
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.
I got wasm to work for the tests. You need to make tempfile not use that std::env::temp_dir function
| let temp_dir = tempfile::TempDir::new_in(temp_dir_path).unwrap(); | ||
| let temp_path = temp_dir.path(); |
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.
so yeah we'll have to use TempDir::new_in instead of TempDir::new throughout. We can probably extract this logic into a function when we add more tests.
folkertdev
left a comment
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.
nice, thanks!
No description provided.