[Lldb-commits] [lldb] r113327 - /lldb/trunk/test/conditional_break/TestConditionalBreak.py

Johnny Chen johnny.chen at apple.com
Tue Sep 7 17:55:12 PDT 2010


Author: johnny
Date: Tue Sep  7 19:55:12 2010
New Revision: 113327

URL: http://llvm.org/viewvc/llvm-project?rev=113327&view=rev
Log:
Minor tweak to add expected matching strings.

Modified:
    lldb/trunk/test/conditional_break/TestConditionalBreak.py

Modified: lldb/trunk/test/conditional_break/TestConditionalBreak.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/conditional_break/TestConditionalBreak.py?rev=113327&r1=113326&r2=113327&view=diff
==============================================================================
--- lldb/trunk/test/conditional_break/TestConditionalBreak.py (original)
+++ lldb/trunk/test/conditional_break/TestConditionalBreak.py Tue Sep  7 19:55:12 2010
@@ -58,8 +58,10 @@
                     # In reality, similar logic can be used to find out the call
                     # site.
                     self.assertTrue(line == 27, "Immediate caller a() at main.c:27")
-                    self.runCmd("thread backtrace")
-                    self.runCmd("frame variable")
+                    self.expect("thread backtrace", "Call site at a()",
+                        substrs = ["main.c:27"])
+                    self.expect("frame variable", "Passed in arg val of (int) 3",
+                        startstr = "val = (int) 3")
                     break
 
             # This doesn't work?





More information about the lldb-commits mailing list