aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-08-26 14:01:04 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-09-03 14:41:29 -0700
commit508e90d7b7b57d0773102cecff7a860ad168cfc1 (patch)
tree49ec0762849322220eed808d5cc636f918f689d4 /tests
parent12fec0413314c6f7d8975114a4fd8802f7a5a2c6 (diff)
track maximum function index when using dlopen support
Diffstat (limited to 'tests')
-rw-r--r--tests/test_core.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/test_core.py b/tests/test_core.py
index 7481b4a7..5e801646 100644
--- a/tests/test_core.py
+++ b/tests/test_core.py
@@ -5587,7 +5587,9 @@ The current type of b is: 9
self.emcc_args = self.emcc_args[:i] + self.emcc_args[i+2:]
break
- if not Settings.ASM_JS:
+ if Settings.ASM_JS:
+ Settings.DLOPEN_SUPPORT = 1
+ else:
Settings.NAMED_GLOBALS = 1
lib_src = '''