diff options
-rw-r--r-- | tests/runner.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/runner.py b/tests/runner.py index 3f9c352c..de884d25 100644 --- a/tests/runner.py +++ b/tests/runner.py @@ -2554,6 +2554,8 @@ def process(filename): self.do_run(main, 'supp: 54,2\nmain: 56\nsupp see: 543\nmain see: 76\nok.') def test_dlfcn_basic(self): + Settings.LINKABLE = 1 + lib_src = ''' #include <cstdio> @@ -2603,6 +2605,8 @@ def process(filename): post_build=add_pre_run_and_checks) def test_dlfcn_qsort(self): + Settings.LINKABLE = 1 + if Settings.USE_TYPED_ARRAYS == 2: Settings.CORRECT_SIGNS = 1 # Needed for unsafe optimizations @@ -2795,6 +2799,8 @@ def process(filename): post_build=add_pre_run_and_checks) def test_dlfcn_alias(self): + Settings.LINKABLE = 1 + if Building.LLVM_OPTS == 2: return self.skip('LLVM LTO will optimize away stuff we expect from the shared library') lib_src = r''' @@ -2847,6 +2853,8 @@ def process(filename): Settings.INCLUDE_FULL_LIBRARY = 0 def test_dlfcn_varargs(self): + Settings.LINKABLE = 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') |