aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-02-22 11:16:29 -0800
committerAlon Zakai <alonzakai@gmail.com>2012-02-22 11:16:29 -0800
commitf53e69d92372020949c5ac0ca8f5ffdc67fb42fb (patch)
tree0724cbc3236925881cf27c1606c1e75b8b1c9402
parent5c0453b01b37fcfb95f049d3425b54b4a79d9002 (diff)
fix test_typed_exceptions
-rwxr-xr-xtests/runner.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/runner.py b/tests/runner.py
index c2240141..92ca7f48 100755
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -1572,6 +1572,7 @@ if 'benchmark' not in str(sys.argv) and 'sanity' not in str(sys.argv):
self.do_run(src, 'success')
def test_typed_exceptions(self):
+ Settings.DISABLE_EXCEPTION_CATCHING = 0
Settings.SAFE_HEAP = 0 # Throwing null will cause an ignorable null pointer access.
Settings.EXCEPTION_DEBUG = 0 # Messes up expected output.
src = open(path_from_root('tests', 'exceptions', 'typed.cpp'), 'r').read()