aboutsummaryrefslogtreecommitdiff
path: root/tests/runner.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-01-21 14:01:42 -0800
committerAlon Zakai <alonzakai@gmail.com>2012-01-21 14:01:42 -0800
commit3f87ba46fc037e6e6842a7a1a6c165c9cef83acf (patch)
tree25e766d50a1452ba6f4e46db2392321112dc25c9 /tests/runner.py
parentab3fa5aedb6c0588580b2dad7ddfb68503ef1cbb (diff)
test fixes, and fail on trying to use q1 with libcxx
Diffstat (limited to 'tests/runner.py')
-rwxr-xr-xtests/runner.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/runner.py b/tests/runner.py
index 00003547..22c84eea 100755
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -1167,6 +1167,8 @@ if 'benchmark' not in str(sys.argv) and 'sanity' not in str(sys.argv):
self.do_run(src, 'Assertion failed: 1 == false')
def test_exceptions(self):
+ if Settings.QUANTUM_SIZE == 1: return self.skip("we don't support libcxx in q1")
+
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
@@ -3868,7 +3870,11 @@ def process(filename):
# libc++ tests
def test_iostream(self):
- if self.emcc_args is None: self.emcc_args = [] # libc++ auto-inclusion is only done if we use emcc
+ if Settings.QUANTUM_SIZE == 1: return self.skip("we don't support libcxx in q1")
+
+ if self.emcc_args is None:
+ self.emcc_args = [] # libc++ auto-inclusion is only done if we use emcc
+ Settings.SAFE_HEAP = 0 # Some spurious warnings from libc++ internals
src = '''
#include <iostream>