[Lldb-commits] [lldb] r140396 - /lldb/trunk/test/functionalities/stop-hook/TestStopHookMechanism.py
Johnny Chen
johnny.chen at apple.com
Fri Sep 23 11:25:02 PDT 2011
Author: johnny
Date: Fri Sep 23 13:25:02 2011
New Revision: 140396
URL: http://llvm.org/viewvc/llvm-project?rev=140396&view=rev
Log:
A second try to make the TestStopHookMechanism.py more robust after recent changes.
Modified:
lldb/trunk/test/functionalities/stop-hook/TestStopHookMechanism.py
Modified: lldb/trunk/test/functionalities/stop-hook/TestStopHookMechanism.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/stop-hook/TestStopHookMechanism.py?rev=140396&r1=140395&r2=140396&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/stop-hook/TestStopHookMechanism.py (original)
+++ lldb/trunk/test/functionalities/stop-hook/TestStopHookMechanism.py Fri Sep 23 13:25:02 2011
@@ -64,12 +64,8 @@
child.sendline('run')
child.expect_exact(prompt)
child.sendline('thread step-over')
- #self.DebugPExpect(child)
- child.expect_exact(prompt)
- #self.DebugPExpect(child)
- # Verify that the 'Stop Hooks' mechanism is fired off.
- self.expect(child.before, exe=False,
- substrs = ['(void *) $'])
+ # Expecting to find the output emitted by the firing of our stop hook.
+ child.expect_exact('(void *) $')
# Now continue the inferior, we'll stop at another breakpoint which is outside the stop-hook range.
child.sendline('process continue')
More information about the lldb-commits
mailing list