aboutsummaryrefslogtreecommitdiff
path: root/tests/test_core.py
diff options
context:
space:
mode:
authorJukka Jylänki <jujjyl@gmail.com>2013-12-19 23:32:26 +0200
committerJukka Jylänki <jujjyl@gmail.com>2013-12-20 11:49:34 +0200
commit55660c394d5f3db2d57984256dd6c3cce088e4c5 (patch)
tree20099712556194717acfdb9815bf5695f32c49a1 /tests/test_core.py
parent184a425ce07a95e882f3f60b87c1c5037cbffec5 (diff)
Update emscripten_log to work with the handwritten JS demangler. Update tests.
Diffstat (limited to 'tests/test_core.py')
-rw-r--r--tests/test_core.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/test_core.py b/tests/test_core.py
index 9991ccbd..80fb3cc5 100644
--- a/tests/test_core.py
+++ b/tests/test_core.py
@@ -6084,9 +6084,8 @@ def process(filename):
def test_emscripten_log(self):
if self.emcc_args is None: return self.skip('This test needs libc.')
- self.emcc_args += [path_from_root('system', 'lib', 'libcxxabi', 'src', 'cxa_demangle.cpp'), '-I'+path_from_root('system', 'lib', 'libcxxabi', 'include'), '--shell-file', path_from_root('tests', 'emscripten_log', 'shell-emscripten-log.html')]
if '-g' not in Building.COMPILER_TEST_OPTS: Building.COMPILER_TEST_OPTS.append('-g')
- self.do_run('#define RUN_FROM_JS_SHELL\n' + open(path_from_root('tests', 'emscripten_log', 'emscripten_log.cpp')).read(), "Demangled name is 'foo()'.")
+ self.do_run('#define RUN_FROM_JS_SHELL\n' + open(path_from_root('tests', 'emscripten_log', 'emscripten_log.cpp')).read(), "Success!")
def test_linespecific(self):
if Settings.ASM_JS: return self.skip('asm always has corrections on')