Skip to content

Commit 7b1135c

Browse files
authored
Disable test_unistd_unlink_wasmfs_rawfs on mac (#23856)
1 parent ae9349c commit 7b1135c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/test_core.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5985,15 +5985,16 @@ def test_unistd_sysconf_phys_pages(self):
59855985
self.do_runf(filename, str(expected) + ', errno: 0')
59865986

59875987
@no_windows('https://github.com/emscripten-core/emscripten/issues/8882')
5988+
@crossplatform
59885989
@with_all_fs
59895990
def test_unistd_unlink(self):
59905991
# symlinks on node.js on non-linux behave differently (e.g. on Windows they require administrative privileges)
59915992
# so skip testing those bits on that combination.
5993+
if MACOS and any(arg in self.emcc_args for arg in ('-DNODEFS', '-DNODERAWFS')):
5994+
self.skipTest('only tested on linux')
59925995
if '-DNODEFS' in self.emcc_args:
59935996
if WINDOWS:
59945997
self.emcc_args += ['-DNO_SYMLINK=1']
5995-
if MACOS:
5996-
self.skipTest('only tested on linux')
59975998
if self.get_setting('WASMFS'):
59985999
self.skipTest('https://github.com/emscripten-core/emscripten/issues/18112')
59996000

0 commit comments

Comments
 (0)