diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_core.py | 3 | ||||
-rw-r--r-- | tests/test_other.py | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/tests/test_core.py b/tests/test_core.py index 87925082..c3e6421b 100644 --- a/tests/test_core.py +++ b/tests/test_core.py @@ -7826,6 +7826,7 @@ def process(filename): self.do_run(src, expected) def test_unistd_unlink(self): + self.clear() if self.emcc_args is None: return self.skip('requires emcc') if not self.is_le32(): return self.skip('le32 needed for inline js') for fs in ['MEMFS', 'NODEFS']: @@ -7834,6 +7835,7 @@ def process(filename): self.do_run(src, 'success', force_c=True, js_engines=[NODE_JS]) def test_unistd_links(self): + self.clear() if not self.is_le32(): return self.skip('le32 needed for inline js') for fs in ['MEMFS', 'NODEFS']: src = open(path_from_root('tests', 'unistd', 'links.c'), 'r').read() @@ -7847,6 +7849,7 @@ def process(filename): self.do_run(src, expected) def test_unistd_io(self): + self.clear() if not self.is_le32(): return self.skip('le32 needed for inline js') if self.run_name == 'o2': return self.skip('non-asm optimized builds can fail with inline js') if self.emcc_args is None: return self.skip('requires emcc') diff --git a/tests/test_other.py b/tests/test_other.py index c38a35d8..c8b6d4b1 100644 --- a/tests/test_other.py +++ b/tests/test_other.py @@ -31,8 +31,8 @@ Most normal gcc/g++ options will work, for example: --version Display compiler version information Options that are modified or new in %s include: - -O0 No optimizations (default) -''' % (shortcompiler, shortcompiler), output[0].replace('\r', ''), output[1].replace('\r', '')) + + -O0 No optimizations (default)''' % (shortcompiler, shortcompiler), output[0].replace('\r', ''), output[1].replace('\r', '')) # emcc src.cpp ==> writes a.out.js self.clear() |