[Lldb-commits] [lldb] r113251 - in /lldb/trunk/test: lldbtest.py settings/TestSettings.py

Johnny Chen johnny.chen at apple.com
Tue Sep 7 11:55:50 PDT 2010


Author: johnny
Date: Tue Sep  7 13:55:50 2010
New Revision: 113251

URL: http://llvm.org/viewvc/llvm-project?rev=113251&view=rev
Log:
The output for term-width setting has single quotes around the (int) value.
And added a trace output for the stop function name to breakAfterLaunch() method.

Modified:
    lldb/trunk/test/lldbtest.py
    lldb/trunk/test/settings/TestSettings.py

Modified: lldb/trunk/test/lldbtest.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lldbtest.py?rev=113251&r1=113250&r2=113251&view=diff
==============================================================================
--- lldb/trunk/test/lldbtest.py (original)
+++ lldb/trunk/test/lldbtest.py Tue Sep  7 13:55:50 2010
@@ -438,6 +438,8 @@
             if SR == StopReasonEnum("Breakpoint"):
                 frame = thread.GetFrameAtIndex(0)
                 name = frame.GetFunction().GetName()
+                if trace:
+                    print >> sys.stderr, "function =", name
                 if (name == func):
                     # We got what we want; now break out of the loop.
                     return True

Modified: lldb/trunk/test/settings/TestSettings.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/settings/TestSettings.py?rev=113251&r1=113250&r2=113251&view=diff
==============================================================================
--- lldb/trunk/test/settings/TestSettings.py (original)
+++ lldb/trunk/test/settings/TestSettings.py Tue Sep  7 13:55:50 2010
@@ -37,7 +37,7 @@
 
         # The overall display should also reflect the new setting.
         self.expect("settings show",
-            startstr = "term-width (int) = 70")
+            startstr = "term-width (int) = '70'")
 
 
 if __name__ == '__main__':





More information about the lldb-commits mailing list