[Lldb-commits] [lldb] r131253 - /lldb/trunk/test/stop-hook/TestStopHookMechanism.py

Johnny Chen johnny.chen at apple.com
Thu May 12 14:58:22 PDT 2011


Author: johnny
Date: Thu May 12 16:58:22 2011
New Revision: 131253

URL: http://llvm.org/viewvc/llvm-project?rev=131253&view=rev
Log:
Cleaned up the expected substring for output from the stop-hook mechanism.

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=131253&r1=131252&r2=131253&view=diff
==============================================================================
--- lldb/trunk/test/stop-hook/TestStopHookMechanism.py (original)
+++ lldb/trunk/test/stop-hook/TestStopHookMechanism.py Thu May 12 16:58:22 2011
@@ -69,7 +69,7 @@
         #self.DebugPExpect(child)
         # Verify that the 'Stop Hooks' mechanism is fired off.
         self.expect(child.before, exe=False,
-            substrs = ['(void *) $0 = 0x'])
+            substrs = ['(void *) $'])
 
         # Now continue the inferior, we'll stop at another breakpoint which is outside the stop-hook range.
         child.sendline('process continue')
@@ -80,7 +80,7 @@
         #self.DebugPExpect(child)
         # Verify that the 'Stop Hooks' mechanism is NOT BEING fired off.
         self.expect(child.before, exe=False, matching=False,
-            substrs = ['(void *) $0 = 0x'])
+            substrs = ['(void *) $'])
         
 
 if __name__ == '__main__':





More information about the lldb-commits mailing list