aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-08-26 13:44:54 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-09-03 14:41:29 -0700
commit12fec0413314c6f7d8975114a4fd8802f7a5a2c6 (patch)
treecd61987d9d436060003bb23322a3234644f62182
parentf29ef210b8d9d9b25711562af6a4f1145d41cc2e (diff)
disable memory init file in test_dlfcn_basic
-rw-r--r--tests/test_core.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/test_core.py b/tests/test_core.py
index 63d18f27..7481b4a7 100644
--- a/tests/test_core.py
+++ b/tests/test_core.py
@@ -5581,6 +5581,12 @@ The current type of b is: 9
self.do_run(main, 'supp: 54,2\nmain: 56\nsupp see: 543\nmain see: 76\nok.')
def test_dlfcn_basic(self):
+ if self.emcc_args and '--memory-init-file' in self.emcc_args:
+ for i in range(len(self.emcc_args)):
+ if self.emcc_args[i] == '--memory-init-file':
+ self.emcc_args = self.emcc_args[:i] + self.emcc_args[i+2:]
+ break
+
if not Settings.ASM_JS:
Settings.NAMED_GLOBALS = 1