diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-01-21 14:12:52 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-01-21 14:12:52 -0800 |
commit | b1250579877039951f1c1fe326bb80b46e5e3630 (patch) | |
tree | 8b04affdab00e3ed96b4fdc393d4b4c42240abf0 | |
parent | a38f6138233518c6b4e32c7b7b9b4446d95b4315 (diff) |
skip tests that optimize bitcode, then pass to emcc which includes libcxx, because pre-optimization can confuse the library includer
-rwxr-xr-x | tests/runner.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/runner.py b/tests/runner.py index 22c84eea..e95b1d68 100755 --- a/tests/runner.py +++ b/tests/runner.py @@ -1171,7 +1171,9 @@ if 'benchmark' not in str(sys.argv) and 'sanity' not in str(sys.argv): self.banned_js_engines = [NODE_JS] # node issue 1669, exception causes stdout not to be flushed Settings.DISABLE_EXCEPTION_CATCHING = 0 - if self.emcc_args is None: self.emcc_args = [] # libc++ auto-inclusion is only done if we use emcc + if self.emcc_args is None: + if Building.LLVM_OPTS: return self.skip('optimizing bitcode before emcc can confuse libcxx inclusion') + self.emcc_args = [] # libc++ auto-inclusion is only done if we use emcc src = ''' #include <stdio.h> @@ -3873,6 +3875,7 @@ def process(filename): if Settings.QUANTUM_SIZE == 1: return self.skip("we don't support libcxx in q1") if self.emcc_args is None: + if Building.LLVM_OPTS: return self.skip('optimizing bitcode before emcc can confuse libcxx inclusion') self.emcc_args = [] # libc++ auto-inclusion is only done if we use emcc Settings.SAFE_HEAP = 0 # Some spurious warnings from libc++ internals |