summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lldb/test/foundation/TestFoundationDisassembly.py4
-rw-r--r--lldb/test/foundation/TestObjCMethods.py4
2 files changed, 4 insertions, 4 deletions
diff --git a/lldb/test/foundation/TestFoundationDisassembly.py b/lldb/test/foundation/TestFoundationDisassembly.py
index 72f05089888..4abb72fe25c 100644
--- a/lldb/test/foundation/TestFoundationDisassembly.py
+++ b/lldb/test/foundation/TestFoundationDisassembly.py
@@ -71,7 +71,7 @@ class FoundationDisassembleTestCase(TestBase):
# Stop at +[NSString stringWithFormat:].
self.expect("regexp-break +[NSString stringWithFormat:]", BREAKPOINT_CREATED,
- startstr = "Breakpoint created: 1: name = '+[NSString stringWithFormat:]', locations = 1")
+ substrs = ["Breakpoint created: 1: name = '+[NSString stringWithFormat:]', locations = 1"])
# Stop at -[MyString initWithNSString:].
self.expect("breakpoint set -n '-[MyString initWithNSString:]'", BREAKPOINT_CREATED,
@@ -83,7 +83,7 @@ class FoundationDisassembleTestCase(TestBase):
# Stop at -[NSAutoreleasePool release].
self.expect("regexp-break -[NSAutoreleasePool release]", BREAKPOINT_CREATED,
- startstr = "Breakpoint created: 4: name = '-[NSAutoreleasePool release]', locations = 1")
+ substrs = ["Breakpoint created: 4: name = '-[NSAutoreleasePool release]', locations = 1"])
self.runCmd("run", RUN_SUCCEEDED)
diff --git a/lldb/test/foundation/TestObjCMethods.py b/lldb/test/foundation/TestObjCMethods.py
index eb1c838f6e1..128ce5d17df 100644
--- a/lldb/test/foundation/TestObjCMethods.py
+++ b/lldb/test/foundation/TestObjCMethods.py
@@ -44,7 +44,7 @@ class FoundationTestCase(TestBase):
# Stop at +[NSString stringWithFormat:].
self.expect("regexp-break +[NSString stringWithFormat:]", BREAKPOINT_CREATED,
- startstr = "Breakpoint created: 1: name = '+[NSString stringWithFormat:]', locations = 1")
+ substrs = ["Breakpoint created: 1: name = '+[NSString stringWithFormat:]', locations = 1"])
# Stop at -[MyString initWithNSString:].
self.expect("breakpoint set -n '-[MyString initWithNSString:]'", BREAKPOINT_CREATED,
@@ -56,7 +56,7 @@ class FoundationTestCase(TestBase):
# Stop at -[NSAutoreleasePool release].
self.expect("regexp-break -[NSAutoreleasePool release]", BREAKPOINT_CREATED,
- startstr = "Breakpoint created: 4: name = '-[NSAutoreleasePool release]', locations = 1")
+ substrs = ["Breakpoint created: 4: name = '-[NSAutoreleasePool release]', locations = 1"])
self.runCmd("run", RUN_SUCCEEDED)
OpenPOWER on IntegriCloud