Skip to content

Commit 8e55b3d

Browse files
authored
Skip failing WASMFS tests. (#25036)
Skip tests failing in #25035.
1 parent 56125fa commit 8e55b3d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

test/test_core.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5499,6 +5499,7 @@ def test_files(self):
54995499

55005500
self.do_run_in_out_file_test('test_files.c')
55015501

5502+
@no_wasmfs('Error: EAGAIN: resource temporarily unavailable. https://github.com/emscripten-core/emscripten/issues/25035')
55025503
def test_module_stdin(self):
55035504
create_file('pre.js', '''
55045505
var data = [10, 20, 40, 30];
@@ -5733,6 +5734,7 @@ def test_poll(self):
57335734
self.set_setting('FORCE_FILESYSTEM')
57345735
self.do_core_test('test_poll.c')
57355736

5737+
@no_wasmfs('st.f_ffree > st.f_files, same issue than in wasmfs.test_fs_nodefs_statvfs. https://github.com/emscripten-core/emscripten/issues/25035')
57365738
def test_statvfs(self):
57375739
self.do_core_test('test_statvfs.c')
57385740

@@ -5875,6 +5877,7 @@ def test_fs_nodefs_readdir(self):
58755877

58765878
@requires_node
58775879
@crossplatform
5880+
@no_wasmfs('Assertion failed: st.f_ffree <= st.f_files && "Free inodes should not exceed total inodes". https://github.com/emscripten-core/emscripten/issues/25035')
58785881
def test_fs_nodefs_statvfs(self):
58795882
# externally setup an existing folder structure: existing/a
58805883
if self.get_setting('WASMFS'):
@@ -5925,6 +5928,7 @@ def test_fs_emptyPath(self):
59255928
@no_windows('https://github.com/emscripten-core/emscripten/issues/8882')
59265929
@crossplatform
59275930
@also_with_nodefs_both
5931+
@no_wasmfs('Assertion failed: open("./does-not-exist/", O_CREAT, 0777) == -1 in test_fs_enotdir.c line 20. https://github.com/emscripten-core/emscripten/issues/25035')
59285932
def test_fs_enotdir(self):
59295933
if MACOS and '-DNODERAWFS' in self.cflags:
59305934
self.skipTest('BSD libc sets a different errno')
@@ -6030,6 +6034,7 @@ def test_fs_rename_on_existing(self):
60306034
@also_with_nodefs_both
60316035
@no_windows('stat ino values dont match on windows')
60326036
@crossplatform
6037+
@no_wasmfs('Assertion failed: "a_ino == sta.st" in test_fs_readdir_ino_matches_stat_ino.c, line 58. https://github.com/emscripten-core/emscripten/issues/25035')
60336038
def test_fs_readdir_ino_matches_stat_ino(self):
60346039
self.do_runf('fs/test_fs_readdir_ino_matches_stat_ino.c', 'success')
60356040

@@ -6171,11 +6176,13 @@ def test_unistd_links(self):
61716176

61726177
@also_with_noderawfs
61736178
@no_windows('TODO: Fails on Windows due to an unknown reason.')
6179+
@no_wasmfs('Assertion failed: "r == 3" in test_unistd_write_broken_link.c line 22. https://github.com/emscripten-core/emscripten/issues/25035')
61746180
def test_unistd_write_broken_link(self):
61756181
self.do_run_in_out_file_test('unistd/test_unistd_write_broken_link.c')
61766182

61776183
@no_windows('Skipping NODEFS test, since it would require administrative privileges.')
61786184
@requires_node
6185+
@no_wasmfs('Assertion failed: "fd" in symlink_on_nodefs.c line 62. https://github.com/emscripten-core/emscripten/issues/25035')
61796186
def test_unistd_symlink_on_nodefs(self):
61806187
# Also, other detected discrepancies if you do end up running this test on NODEFS:
61816188
# test expects /, but Windows gives \ as path slashes.
@@ -6192,6 +6199,7 @@ def test_unistd_io(self):
61926199

61936200
@no_windows('https://github.com/emscripten-core/emscripten/issues/8882')
61946201
@also_with_nodefs
6202+
@no_wasmfs('fails in testing fdatasync, tcgetpgrp and pipe. https://github.com/emscripten-core/emscripten/issues/25035')
61956203
def test_unistd_misc(self):
61966204
if self.get_setting('STRICT'):
61976205
self.set_setting('ALLOW_UNIMPLEMENTED_SYSCALLS')

0 commit comments

Comments
 (0)