Skip to content

Commit 97fc34c

Browse files
committed
Fix test for wasm2js
1 parent 18e9568 commit 97fc34c

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
listing contents of dir=/
2+
.
3+
..
4+
tmp
5+
home
6+
dev
7+
proc
8+
listing contents of dir=/working
9+
existing
10+
stdout
11+
test_nodefs_readdir.js
12+
success

test/test_core.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5794,6 +5794,8 @@ def test_fs_nodefs_readdir(self):
57945794
suffix = ''
57955795
if self.get_setting('WASMFS'):
57965796
suffix = '.wasmfs'
5797+
elif self.is_wasm2js():
5798+
suffix = ".wasm2js"
57975799
self.do_run_in_out_file_test('fs/test_nodefs_readdir.c', out_suffix=suffix)
57985800

57995801
@requires_node

0 commit comments

Comments
 (0)