aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-11-21 20:26:26 +0100
committerAlon Zakai <alonzakai@gmail.com>2012-11-21 20:26:26 +0100
commitb074f4241b87a097bf25e09cda7766b55a88a81b (patch)
tree08e354f63988b6db439710c55c72847edc3c6938 /tests
parent25912c4c7e019aaa9a9ce1066c6b3cfe945c5bbc (diff)
emscripten_run_script_string
Diffstat (limited to 'tests')
-rwxr-xr-xtests/runner.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/runner.py b/tests/runner.py
index 6404a211..8ffc759a 100755
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -2777,6 +2777,7 @@ c5,de,15,8a
// EMSCRIPTEN_COMMENT("hello from the source");
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()");
return 0;
}
@@ -2788,7 +2789,7 @@ def process(filename):
# TODO: restore this (see comment in emscripten.h) assert '// hello from the source' in src
'''
- self.do_run(src, 'hello world!\n*100*\nmann\n', post_build=check)
+ self.do_run(src, 'hello world!\n*100*\n*fivesix*\nmann\n', post_build=check)
def test_inlinejs(self):
src = r'''