aboutsummaryrefslogtreecommitdiff
path: root/tests/test_core.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_core.py')
-rw-r--r--tests/test_core.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/test_core.py b/tests/test_core.py
index cf2730d0..76d3415c 100644
--- a/tests/test_core.py
+++ b/tests/test_core.py
@@ -4259,6 +4259,12 @@ def process(filename):
out = path_from_root('tests', 'fs', 'test_trackingdelegate.out')
self.do_run_from_file(src, out)
+ def test_fs_writeFile(self):
+ self.emcc_args += ['-s', 'DISABLE_EXCEPTION_CATCHING=1']
+ src = path_from_root('tests', 'fs', 'test_writeFile.cc')
+ out = path_from_root('tests', 'fs', 'test_writeFile.out')
+ self.do_run_from_file(src, out)
+
def test_unistd_access(self):
self.clear()
if not self.is_emscripten_abi(): return self.skip('asmjs-unknown-emscripten needed for inline js')