diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-11-27 20:25:27 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-11-27 20:27:00 -0800 |
commit | 710e8459cb5066739f6f67b18797bf815b773fc0 (patch) | |
tree | af53ac25a73827b44a28506e2da081ece2f19e63 | |
parent | ef7eb7ceeb6fbc3f818290abd3006ab36cb326cf (diff) |
disable tests not working without named globals
-rwxr-xr-x | tests/runner.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/runner.py b/tests/runner.py index ccf6f241..1b440f6e 100755 --- a/tests/runner.py +++ b/tests/runner.py @@ -3712,6 +3712,7 @@ The current type of b is: 9 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') + if Settings.NAMED_GLOBALS == 0: return self.skip('dlopen cannot work without named globals, TODO') main, supp = self.setup_runtimelink_test() @@ -3871,6 +3872,7 @@ def process(filename): def test_dlfcn_data_and_fptr(self): if Building.LLVM_OPTS: return self.skip('LLVM opts will optimize out parent_func') + if Settings.NAMED_GLOBALS == 0: return self.skip('dlopen cannot work without named globals, TODO') Settings.LINKABLE = 1 @@ -3975,6 +3977,7 @@ def process(filename): Settings.LINKABLE = 1 if Building.LLVM_OPTS == 2: return self.skip('LLVM LTO will optimize away stuff we expect from the shared library') + if Settings.NAMED_GLOBALS == 0: return self.skip('dlopen cannot work without named globals, TODO') lib_src = r''' #include <stdio.h> |