[Lldb-commits] [lldb] r218851 - Add a couple of extra exepct strings so this test file keeps in sync with lldb

Jason Molenda jmolenda at apple.com
Wed Oct 1 22:15:07 PDT 2014


Author: jmolenda
Date: Thu Oct  2 00:15:07 2014
New Revision: 218851

URL: http://llvm.org/viewvc/llvm-project?rev=218851&view=rev
Log:
Add a couple of extra exepct strings so this test file keeps in sync with lldb
a little better.

Modified:
    lldb/trunk/test/functionalities/stop-hook/multiple_threads/TestStopHookMultipleThreads.py

Modified: lldb/trunk/test/functionalities/stop-hook/multiple_threads/TestStopHookMultipleThreads.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/stop-hook/multiple_threads/TestStopHookMultipleThreads.py?rev=218851&r1=218850&r2=218851&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/stop-hook/multiple_threads/TestStopHookMultipleThreads.py (original)
+++ lldb/trunk/test/functionalities/stop-hook/multiple_threads/TestStopHookMultipleThreads.py Thu Oct  2 00:15:07 2014
@@ -62,8 +62,10 @@ class StopHookForMultipleThreadsTestCase
 
         # Now run the program, expect to stop at the the first breakpoint which is within the stop-hook range.
         child.sendline('run')
+        child.expect_exact("Process")   # 'Process 2415 launched', 'Process 2415 stopped'
         child.expect_exact(prompt)
         child.sendline('target stop-hook add -o "frame variable --show-globals g_val"')
+        child.expect_exact("Stop hook") # 'Stop hook #1 added.'
         child.expect_exact(prompt)
 
         # Continue and expect to find the output emitted by the firing of our stop hook.





More information about the lldb-commits mailing list