[Lldb-commits] [lldb] r130811 -	/lldb/trunk/test/stop-hook/TestStopHookMechanism.py
    Johnny Chen 
    johnny.chen at apple.com
       
    Tue May  3 17:44:20 PDT 2011
    
    
  
Author: johnny
Date: Tue May  3 19:44:20 2011
New Revision: 130811
URL: http://llvm.org/viewvc/llvm-project?rev=130811&view=rev
Log:
Make the negative test more robust in light of more than one lldb prompts being emitted
in one command invocation.
Modified:
    lldb/trunk/test/stop-hook/TestStopHookMechanism.py
Modified: lldb/trunk/test/stop-hook/TestStopHookMechanism.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/stop-hook/TestStopHookMechanism.py?rev=130811&r1=130810&r2=130811&view=diff
==============================================================================
--- lldb/trunk/test/stop-hook/TestStopHookMechanism.py (original)
+++ lldb/trunk/test/stop-hook/TestStopHookMechanism.py Tue May  3 19:44:20 2011
@@ -73,10 +73,10 @@
 
         # 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,
    
    
More information about the lldb-commits
mailing list