[Lldb-commits] [lldb] r113214 - /lldb/trunk/test/settings/TestSettings.py

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


Author: johnny
Date: Tue Sep  7 12:12:10 2010
New Revision: 113214

URL: http://llvm.org/viewvc/llvm-project?rev=113214&view=rev
Log:
Added comments.

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

Modified: lldb/trunk/test/settings/TestSettings.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/settings/TestSettings.py?rev=113214&r1=113213&r2=113214&view=diff
==============================================================================
--- lldb/trunk/test/settings/TestSettings.py (original)
+++ lldb/trunk/test/settings/TestSettings.py Tue Sep  7 12:12:10 2010
@@ -13,9 +13,15 @@
 
     def test_set_prompt(self):
         """Test that 'set prompt' actually changes the prompt."""
+
+        # Use '-o' option to override the existing instance setting.
         self.runCmd("settings set -o prompt 'lldb2'")
+
+        # Immediately test the setting.
         self.expect("settings show prompt",
             startstr = "prompt (string) = 'lldb2'")
+
+        # The overall display should also reflect the new setting.
         self.expect("settings show",
             substrs = ["prompt (string) = 'lldb2'"])
 





More information about the lldb-commits mailing list