Skip to content

Commit

Permalink
use also_with_nodefs_both decorator
Browse files Browse the repository at this point in the history
  • Loading branch information
hoodmane committed Dec 18, 2024
1 parent 68d1f7e commit 071c87d
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions test/test_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -5858,15 +5858,11 @@ def test_fs_rename_on_existing(self):
self.set_setting('FORCE_FILESYSTEM')
self.do_runf('fs/test_fs_rename_on_existing.c', 'success')

@parameterized({
'': ([],),
'nodefs': (['-DNODEFS', '-lnodefs.js'],),
'noderawfs': (['-sNODERAWFS'],)
})
@also_with_nodefs_both
def test_fs_eisdir(self, args):
if self.get_setting('WASMFS'):
self.set_setting('FORCE_FILESYSTEM')
self.do_runf('fs/test_fs_eisdir.c', 'success', emcc_args=args)
self.do_runf('fs/test_fs_eisdir.c', 'success')

def test_sigalrm(self):
self.do_runf('test_sigalrm.c', 'Received alarm!')
Expand Down

0 comments on commit 071c87d

Please sign in to comment.