aboutsummaryrefslogtreecommitdiff
path: root/tests/runner.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-01-14 13:21:42 -0800
committerAlon Zakai <alonzakai@gmail.com>2013-01-14 13:21:42 -0800
commit3cb5ffa5da8700e967812084f126b69873f8c108 (patch)
tree0b1fcfe28db4f4aa71f6dbd58f0592f1c34183c1 /tests/runner.py
parentedfccbf2708ee4cb5e9cae5a04badf6f2b84b799 (diff)
clear message when exception catching is disabled and an exception is thrown
Diffstat (limited to 'tests/runner.py')
-rwxr-xr-xtests/runner.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/runner.py b/tests/runner.py
index 30f5213b..9095d395 100755
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -2316,8 +2316,8 @@ Exception execution path of first function! 1
self.do_run(src, '*throw...caught!infunc...done!*')
Settings.DISABLE_EXCEPTION_CATCHING = 1
- self.do_run(src, 'Compiled code throwing an exception')
-
+ self.do_run(src, 'Exception catching is disabled, this exception cannot be caught. Compile with -s DISABLE_EXCEPTION_CATCHING=0 to catch.')
+
src = '''
#include <iostream>