diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2019-01-22 03:50:44 +0000 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2019-01-22 03:50:44 +0000 |
commit | 1efb72f8a404533e604f370e0e4cea4e948ae6e1 (patch) | |
tree | a697a17ce7a6b85870232a7210bebbc1cd990c48 /lldb/packages/Python/lldbsuite/test/lang/objc | |
parent | bfdba5e4fc351d3de15d5536a1d4e04a16573ddf (diff) | |
download | bcm5719-llvm-1efb72f8a404533e604f370e0e4cea4e948ae6e1.tar.gz bcm5719-llvm-1efb72f8a404533e604f370e0e4cea4e948ae6e1.zip |
[Test] Fix up tests affected by the new LLVM header.
The new LLVM header is one line shorter than the old one, which lead to
some test failures. Ideally tests should rely on line numbers for
breakpoints or output, but that's a different discussion. Hopefully this
turns the bots green again.
llvm-svn: 351779
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lang/objc')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/lang/objc/exceptions/TestObjCExceptions.py | 10 |
1 files changed, 5 insertions, 5 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 92b32504cf2..aa64606968f 100644 --- a/lldb/packages/Python/lldbsuite/test/lang/objc/exceptions/TestObjCExceptions.py +++ b/lldb/packages/Python/lldbsuite/test/lang/objc/exceptions/TestObjCExceptions.py @@ -37,7 +37,7 @@ class ObjCExceptionsTestCase(TestBase): target = self.dbg.GetSelectedTarget() thread = target.GetProcess().GetSelectedThread() frame = thread.GetSelectedFrame() - + opts = lldb.SBVariablesOptions() opts.SetIncludeRecognizedArguments(True) variables = frame.GetVariables(opts) @@ -142,8 +142,8 @@ class ObjCExceptionsTestCase(TestBase): '(NSException *) exception = ', 'name: "ThrownException" - reason: "SomeReason"', 'libobjc.A.dylib`objc_exception_throw', - 'a.out`foo', 'at main.mm:25', - 'a.out`rethrow', 'at main.mm:36', + 'a.out`foo', 'at main.mm:24', + 'a.out`rethrow', 'at main.mm:35', 'a.out`main', ]) @@ -169,8 +169,8 @@ class ObjCExceptionsTestCase(TestBase): self.expect('thread exception', substrs=[ '(MyCustomException *) exception = ', 'libobjc.A.dylib`objc_exception_throw', - 'a.out`foo', 'at main.mm:27', - 'a.out`rethrow', 'at main.mm:36', + 'a.out`foo', 'at main.mm:26', + 'a.out`rethrow', 'at main.mm:35', 'a.out`main', ]) |