summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/debugbreak/TestDebugBreak.py
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2016-04-12 17:04:12 +0000
committerJim Ingham <jingham@apple.com>2016-04-12 17:04:12 +0000
commit5e2b489049c9856a9b44493b3831b238f52abf79 (patch)
tree885b82894d4c6b6214d30c85a2a2b1a0b9bc24f4 /lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/debugbreak/TestDebugBreak.py
parentc8b31f30ad93947ae833a1cd967c43ab24c1a303 (diff)
downloadbcm5719-llvm-5e2b489049c9856a9b44493b3831b238f52abf79.tar.gz
bcm5719-llvm-5e2b489049c9856a9b44493b3831b238f52abf79.zip
'int' is reported as an exception on OS X not as a signal. I don't think
this test ever succeeded on OS X. llvm-svn: 266092
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/debugbreak/TestDebugBreak.py')
-rw-r--r--lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/debugbreak/TestDebugBreak.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/debugbreak/TestDebugBreak.py b/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/debugbreak/TestDebugBreak.py
index 1e195c86bdb..de61f9e88f1 100644
--- a/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/debugbreak/TestDebugBreak.py
+++ b/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/debugbreak/TestDebugBreak.py
@@ -27,7 +27,7 @@ class DebugBreakTestCase(TestBase):
# We've hit the first stop, so grab the frame.
self.assertEqual(process.GetState(), lldb.eStateStopped)
- stop_reason = lldb.eStopReasonException if (lldbplatformutil.getPlatform()=="windows") else lldb.eStopReasonSignal
+ stop_reason = lldb.eStopReasonException if (lldbplatformutil.getPlatform()=="windows" or lldbplatformutil.getPlatform()=="macosx") else lldb.eStopReasonSignal
thread = lldbutil.get_stopped_thread(process, stop_reason)
self.assertIsNotNone(thread, "Unable to find thread stopped at the __debugbreak()")
frame = thread.GetFrameAtIndex(0)
OpenPOWER on IntegriCloud