aboutsummaryrefslogtreecommitdiff
path: root/tests/runner.py
diff options
context:
space:
mode:
authorAlon Zakai <azakai@mozilla.com>2010-11-25 15:39:08 -0800
committerAlon Zakai <azakai@mozilla.com>2010-11-25 15:39:08 -0800
commit66d539dbe657aef413d05cdd8e69ee9768a5cb37 (patch)
tree2b526ad02c7c603e3ecf5fdcb31a39c6126b5a69 /tests/runner.py
parentb5eea6060f32c1be666fd52ba8b337701f8723dc (diff)
improve lua test + fixes
Diffstat (limited to 'tests/runner.py')
-rw-r--r--tests/runner.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/runner.py b/tests/runner.py
index 69b58672..41be87e8 100644
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -1060,8 +1060,8 @@ if 'benchmark' not in sys.argv:
def test_lua(self):
self.do_ll_test(path_from_root(['tests', 'lua', 'lua.ll']),
- 'hello lua world!',
- args=['-e', '''print("hello lua world!")'''],
+ 'hello lua world!\n17\n*',
+ args=['-e', '''print("hello lua world!");print(17)'''],
f_opt_ll_file=path_from_root(['tests', 'lua', 'lua.Os.ll']),
js_engines=[SPIDERMONKEY_ENGINE])