aboutsummaryrefslogtreecommitdiff
path: root/libunwind/test/lit.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'libunwind/test/lit.cfg')
-rw-r--r--libunwind/test/lit.cfg3
1 files changed, 3 insertions, 0 deletions
diff --git a/libunwind/test/lit.cfg b/libunwind/test/lit.cfg
index 272bc16..1d284bd 100644
--- a/libunwind/test/lit.cfg
+++ b/libunwind/test/lit.cfg
@@ -23,6 +23,9 @@ config.suffixes = ['.cpp', '.s']
# test_source_root: The root path where tests are located.
config.test_source_root = os.path.dirname(__file__)
+# needed to test libunwind with code that throws exceptions
+config.enable_exceptions = True
+
# Infer the libcxx_test_source_root for configuration import.
# If libcxx_source_root isn't specified in the config, assume that the libcxx
# and libunwind source directories are sibling directories.