diff options
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lang/objc/exceptions/TestObjCExceptions.py')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/lang/objc/exceptions/TestObjCExceptions.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/lang/objc/exceptions/TestObjCExceptions.py b/lldb/packages/Python/lldbsuite/test/lang/objc/exceptions/TestObjCExceptions.py index cc68e3677ec..1d4ee9aa579 100644 --- a/lldb/packages/Python/lldbsuite/test/lang/objc/exceptions/TestObjCExceptions.py +++ b/lldb/packages/Python/lldbsuite/test/lang/objc/exceptions/TestObjCExceptions.py @@ -196,11 +196,12 @@ class ObjCExceptionsTestCase(TestBase): self.expect("thread list", substrs=['stopped', 'stop reason = signal SIGABRT']) - self.expect('thread exception', substrs=[]) + self.expect('thread exception', substrs=['exception =']) process = self.dbg.GetSelectedTarget().process thread = process.GetSelectedThread() - # C++ exceptions are not exposed in the API (yet). - self.assertFalse(thread.GetCurrentException().IsValid()) + self.assertTrue(thread.GetCurrentException().IsValid()) + + # C++ exception backtraces are not exposed in the API (yet). self.assertFalse(thread.GetCurrentExceptionBacktrace().IsValid()) |