aboutsummaryrefslogtreecommitdiff
path: root/tests/test_browser.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_browser.py
parent184a425ce07a95e882f3f60b87c1c5037cbffec5 (diff)
Update emscripten_log to work with the handwritten JS demangler. Update tests.
Diffstat (limited to 'tests/test_browser.py')
-rw-r--r--tests/test_browser.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/test_browser.py b/tests/test_browser.py
index 55e368a8..c3de1861 100644
--- a/tests/test_browser.py
+++ b/tests/test_browser.py
@@ -122,9 +122,8 @@ If manually bisecting:
def test_emscripten_log(self):
src = os.path.join(self.get_dir(), 'src.cpp')
open(src, 'w').write(self.with_report_result(open(path_from_root('tests', 'emscripten_log', 'emscripten_log.cpp')).read()))
- shutil.copyfile(path_from_root('tests', 'emscripten_log', 'emscripten-source-map.min.js'), os.path.join(self.get_dir(), 'emscripten-source-map.min.js'))
- Popen([PYTHON, EMCC, src, 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'), '-g', '-o', 'page.html']).communicate()
+ Popen([PYTHON, EMCC, src, '--pre-js', path_from_root('tests', 'emscripten_log', 'emscripten-source-map.min.js'), '-g', '-o', 'page.html']).communicate()
self.run_browser('page.html', None, '/report_result?1')
def build_native_lzma(self):