aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-12-14 15:31:56 -0800
committerAlon Zakai <alonzakai@gmail.com>2012-12-14 15:31:56 -0800
commit284a433e94aa4ff93f2ad2415405a84324204b03 (patch)
treed4bc528b1fcc8c85f423f92ed65edb6664604de5 /tests
parenta86056437ae71c77ce2a2b5a3447c293c199ef2a (diff)
must have named globals in shared libs
Diffstat (limited to 'tests')
-rwxr-xr-xtests/runner.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/runner.py b/tests/runner.py
index f1f0b997..e90dc4cf 100755
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -3947,6 +3947,7 @@ The current type of b is: 9
def test_dlfcn_basic(self):
if Settings.ASM_JS: return self.skip('TODO: dlopen in asm')
+ Settings.NAMED_GLOBALS = 1
Settings.LINKABLE = 1
lib_src = '''
@@ -4001,6 +4002,7 @@ def process(filename):
if Settings.ASM_JS: return self.skip('TODO: dlopen in asm')
Settings.LINKABLE = 1
+ Settings.NAMED_GLOBALS = 1
if Settings.USE_TYPED_ARRAYS == 2:
Settings.CORRECT_SIGNS = 1 # Needed for unsafe optimizations
@@ -4256,6 +4258,7 @@ def process(filename):
if Settings.ASM_JS: return self.skip('TODO: dlopen in asm')
Settings.LINKABLE = 1
+ Settings.NAMED_GLOBALS = 1
if Building.LLVM_OPTS == 2: return self.skip('LLVM LTO will optimize things that prevent shared objects from working')
if Settings.QUANTUM_SIZE == 1: return self.skip('FIXME: Add support for this')