aboutsummaryrefslogtreecommitdiff
path: root/tests/runner.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-01-18 18:10:57 -0800
committerAlon Zakai <alonzakai@gmail.com>2012-01-18 18:10:57 -0800
commitf6be80cbd7bd9e339da7ad5829e98c2f16ee2b1b (patch)
tree1cc8181051d00daa05736213f50fd4c441cbdc49 /tests/runner.py
parentdfca41cfde20eb47a38ae83b1d7dd80da669232f (diff)
LINKABLE options, disabling dead code elimination for shared libraries and main files that have things that shared libraries will access through an extern
Diffstat (limited to 'tests/runner.py')
-rw-r--r--tests/runner.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/runner.py b/tests/runner.py
index 30f5f62c..eb940000 100644
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -2488,6 +2488,9 @@ def process(filename):
def test_runtimelink(self):
if Building.LLVM_OPTS: return self.skip('LLVM opts will optimize printf into puts in the parent, and the child will still look for puts')
+
+ Settings.LINKABLE = 1
+
self.banned_js_engines = [NODE_JS] # node's global scope behaves differently than everything else, needs investigation FIXME
header = r'''
@@ -2689,6 +2692,8 @@ def process(filename):
def test_dlfcn_data_and_fptr(self):
if Building.LLVM_OPTS: return self.skip('LLVM opts will optimize out parent_func')
+ Settings.LINKABLE = 1
+
lib_src = '''
#include <stdio.h>