aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-07-24 15:22:36 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-07-24 15:23:30 -0700
commitd1bf01006240e8d17eab7720208f731fd93d2751 (patch)
treec717c2d1f9062200cdaff5a4026b0ef6b6ade6dc /tests
parent5dce7ffd65e23f2b0e87d44ace50952b086e7730 (diff)
fix EXPORT_ALL in asm mode
Diffstat (limited to 'tests')
-rwxr-xr-xtests/runner.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/runner.py b/tests/runner.py
index 4a9bf623..72d2967a 100755
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -4062,6 +4062,11 @@ def process(filename):
Settings.EXPORTED_FUNCTIONS = ['_main', '_save_me_aimee']
self.do_run(src, 'hello world!\n*100*\n*fivesix*\nmann\n', post_build=check)
+ # test EXPORT_ALL
+ Settings.EXPORTED_FUNCTIONS = []
+ Settings.EXPORT_ALL = 1
+ self.do_run(src, 'hello world!\n*100*\n*fivesix*\nmann\n', post_build=check)
+
def test_inlinejs(self):
if Settings.ASM_JS: return self.skip('asm does not support random code, TODO: something that works in asm')
src = r'''