diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-11-29 16:01:16 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-12-07 14:23:20 -0800 |
commit | 753822500fed7024465b5af529277e1a6444a98d (patch) | |
tree | 7af51a72b241d081247cb020c250202140dca975 /tests/runner.py | |
parent | b9a37437fccf5759d346d9e3b3222a6556442a68 (diff) |
fix test_emscripten_api
Diffstat (limited to 'tests/runner.py')
-rwxr-xr-x | tests/runner.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/runner.py b/tests/runner.py index 375f2a7e..b1a68cc7 100755 --- a/tests/runner.py +++ b/tests/runner.py @@ -2869,7 +2869,7 @@ Exiting stack_manipulate_func, level: 0 emscripten_run_script("Module.print('hello world' + '!')"); printf("*%d*\n", emscripten_run_script_int("5*20")); printf("*%s*\n", emscripten_run_script_string("'five'+'six'")); - emscripten_run_script("_save_me_aimee()"); + emscripten_run_script("Module['_save_me_aimee']()"); return 0; } ''' @@ -2879,7 +2879,7 @@ def process(filename): src = open(filename, 'r').read() # TODO: restore this (see comment in emscripten.h) assert '// hello from the source' in src ''' - + Settings.EXPORTED_FUNCTIONS = ['_main', '_save_me_aimee'] self.do_run(src, 'hello world!\n*100*\n*fivesix*\nmann\n', post_build=check) def test_inlinejs(self): |