-
Notifications
You must be signed in to change notification settings - Fork 3.5k
[WasmFS] Skip root directory setup under NODERAWFS #26607
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
Changes from all commits
f5e8b23
58257c3
f988737
741db0f
7bd0869
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5609,6 +5609,8 @@ def test_fsync(self, args): | |
| def test_fs_dev_random(self): | ||
| if WINDOWS and self.get_setting('NODERAWFS'): | ||
| self.skipTest('Crashes on Windows and NodeFS') | ||
| if self.get_setting('NODERAWFS') and self.get_setting('WASMFS'): | ||
| self.skipTest('https://github.com/emscripten-core/emscripten/issues/24830') | ||
| self.do_runf('fs/test_fs_dev_random.c', 'done\n') | ||
|
|
||
| @parameterized({ | ||
|
|
@@ -13480,6 +13482,8 @@ def test_unistd_chown(self): | |
|
|
||
| @wasmfs_all_backends | ||
| def test_wasmfs_getdents(self): | ||
| if self.get_setting('NODERAWFS'): | ||
| self.skipTest('test expectations assumes /dev is virtualized') | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Are there no tests that can now be enabled by this change? Seems a little odd that this change would strictly make more tests fail.
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. PR #24733 (from which this change is split out) would allow more tests to be enabled (e.g. it removes the skip for The downside of splitting this change early is that absolute path access under |
||
| # Run only in WASMFS for now. | ||
| self.set_setting('FORCE_FILESYSTEM') | ||
| self.do_run_in_out_file_test('wasmfs/wasmfs_getdents.c') | ||
|
|
||
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.
Why remove this?
Does
wasmfs_getdents.cneed to get re-written to handle the rawfs mabye?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.
Should we just skip under
NODERAWFSrather than removingwasmfs_all_backendscompletely?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 re-added the
@wasmfs_all_backendsdecorator and skipped this only underNODERAWFSwith commit f3b85c9.See for details:
emscripten/test/wasmfs/wasmfs_getdents.out
Lines 51 to 59 in 34f6bcf