diff options
author | Alon Zakai <alonzakai@gmail.com> | 2014-05-07 18:00:08 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2014-05-07 18:00:08 -0700 |
commit | ca8610ae8d1c1558dc4a6214a6ddb20b12c896db (patch) | |
tree | 3acaf607f5f8305851e1851366e4516c9f74eab3 | |
parent | 42357af40b707c282d00f335bee1e87aab505a1e (diff) |
disable test_fs_writeFile in non-emcc modes
-rw-r--r-- | tests/test_core.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_core.py b/tests/test_core.py index 76d3415c..600e2da8 100644 --- a/tests/test_core.py +++ b/tests/test_core.py @@ -4260,7 +4260,8 @@ def process(filename): self.do_run_from_file(src, out) def test_fs_writeFile(self): - self.emcc_args += ['-s', 'DISABLE_EXCEPTION_CATCHING=1'] + if self.emcc_args is None: return self.skip('requires emcc') + self.emcc_args += ['-s', 'DISABLE_EXCEPTION_CATCHING=1'] # see issue 2334 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) |