aboutsummaryrefslogtreecommitdiff
path: root/tests/test_core.py
diff options
context:
space:
mode:
authorDan Gohman <sunfish@mozilla.com>2014-05-07 16:28:52 -0700
committerDan Gohman <sunfish@mozilla.com>2014-05-07 16:36:57 -0700
commit42357af40b707c282d00f335bee1e87aab505a1e (patch)
tree82fd4e3dd088e7ac28758c16a8af765c911531c2 /tests/test_core.py
parent490a4b27d1f8a93f09d44dc725e6042dcd7bd635 (diff)
Add the testcase for https://github.com/kripken/emscripten/issues/2334 to the testsuite.
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')