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

tests: Use a virtual filesystem instead of std::fs #13991

Merged
merged 2 commits into from
Nov 13, 2023

Conversation

Dinnerbone
Copy link
Contributor

Our normal native tests currently map it to a physical filesystem rooted at the test directory (ie /test.swf is always the test swf, instead of /path/to/ruffle/tests/whatever/test.swf). I had to change some tests to account for this, as they assumed that it'd be the full physical path.

This progresses us further towards running tests on wasm, as they'll likely have an in-memory filesystem - maybe one zip per test? Not sure yet.

@Dinnerbone Dinnerbone enabled auto-merge (rebase) November 13, 2023 21:22
@Dinnerbone Dinnerbone merged commit 3a55b3a into ruffle-rs:master Nov 13, 2023
13 checks passed
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.

1 participant