Skip to content

Commit b6a5264

Browse files
committed
Disabled test_std_filesystem_{tempdir_}wasmfs_rawfs. NFC
These tests depend on being able to access arbitrary paths which doesn't currently work with NODERAWFS + WASMFS. See emscripten-core#18820
1 parent e58bf93 commit b6a5264

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/test_other.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13685,14 +13685,14 @@ def test_fs_icase(self):
1368513685
@crossplatform
1368613686
@with_all_fs
1368713687
def test_std_filesystem(self):
13688-
if (WINDOWS or MACOS) and self.get_setting('NODERAWFS'):
13689-
self.skipTest('Rawfs directory removal works only on Linux')
13688+
if self.get_setting('NODERAWFS') and self.get_setting('WASMFS'):
13689+
self.skipTest('NODERAWFS + WASMFS is does not allow access to arbitrary paths')
1369013690
self.do_other_test('test_std_filesystem.cpp')
1369113691

1369213692
@crossplatform
1369313693
@with_all_fs
1369413694
def test_std_filesystem_tempdir(self):
13695-
if (WINDOWS or MACOS) and self.get_setting('NODERAWFS') and self.get_setting('WASMFS'):
13695+
if self.get_setting('NODERAWFS') and self.get_setting('WASMFS'):
1369613696
self.skipTest('NODERAWFS + WASMFS is does not allow access to arbitrary paths')
1369713697
self.do_other_test('test_std_filesystem_tempdir.cpp', cflags=['-g'])
1369813698

0 commit comments

Comments
 (0)