summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2011-05-04 00:44:20 +0000
committerJohnny Chen <johnny.chen@apple.com>2011-05-04 00:44:20 +0000
commitb5672c504cbcd128138ea064d67909863bf57adf (patch)
tree977cfc7c0d97dd453847f78acf738d2c7aeca676
parented8a29b855467f44db51a194bf06a709dcfbe861 (diff)
downloadbcm5719-llvm-b5672c504cbcd128138ea064d67909863bf57adf.tar.gz
bcm5719-llvm-b5672c504cbcd128138ea064d67909863bf57adf.zip
Make the negative test more robust in light of more than one lldb prompts being emitted
in one command invocation. llvm-svn: 130811
-rw-r--r--lldb/test/stop-hook/TestStopHookMechanism.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/test/stop-hook/TestStopHookMechanism.py b/lldb/test/stop-hook/TestStopHookMechanism.py
index 7eac12ae979..1dcc380c8e2 100644
--- a/lldb/test/stop-hook/TestStopHookMechanism.py
+++ b/lldb/test/stop-hook/TestStopHookMechanism.py
@@ -73,10 +73,10 @@ class StopHookMechanismTestCase(TestBase):
# Now continue the inferior, we'll stop at another breakpoint which is outside the stop-hook range.
child.sendline('process continue')
- child.expect_exact(prompt)
+ child.expect_exact('// Another breakpoint which is outside of the stop-hook range.')
#self.DebugPExpect(child)
child.sendline('thread step-over')
- child.expect_exact(prompt)
+ child.expect_exact('// Another breakpoint which is outside of the stop-hook range.')
#self.DebugPExpect(child)
# Verify that the 'Stop Hooks' mechanism is NOT BEING fired off.
self.expect(child.before, exe=False, matching=False,
OpenPOWER on IntegriCloud