aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-02-09 13:49:48 -0800
committerAlon Zakai <alonzakai@gmail.com>2012-02-09 13:49:48 -0800
commit39a1770100fd87f474d67d6fa689809ced73bb65 (patch)
tree17b8608b8f2dbc9ef314914fd49a42c0ea242d69
parent5ad789bfb4566bc8444c199bfeff8a509328f740 (diff)
disable non-emcc runs in test_uncaught_exception
-rwxr-xr-xtests/runner.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/runner.py b/tests/runner.py
index ef579a35..61d2a6aa 100755
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -1403,6 +1403,8 @@ if 'benchmark' not in str(sys.argv) and 'sanity' not in str(sys.argv):
self.do_run(src, 'Throw...Construct...Catched...Destruct...Throw...Construct...Copy...Catched...Destruct...Destruct...')
def test_uncaught_exception(self):
+ if self.emcc_args is None: return self.skip('no libcxx inclusion without emcc')
+
Settings.EXCEPTION_DEBUG = 0 # Messes up expected output.
Settings.DISABLE_EXCEPTION_CATCHING = 0