[Lldb-commits] [lldb] r137129 - /lldb/trunk/test/lang/c/global_variables/TestGlobalVariables.py

Johnny Chen johnny.chen at apple.com
Tue Aug 9 10:48:29 PDT 2011


Author: johnny
Date: Tue Aug  9 12:48:29 2011
New Revision: 137129

URL: http://llvm.org/viewvc/llvm-project?rev=137129&view=rev
Log:
Add a negative self.expect() to verify that the bug has been fixed.

rdar://problem/9747668

Modified:
    lldb/trunk/test/lang/c/global_variables/TestGlobalVariables.py

Modified: lldb/trunk/test/lang/c/global_variables/TestGlobalVariables.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/c/global_variables/TestGlobalVariables.py?rev=137129&r1=137128&r2=137129&view=diff
==============================================================================
--- lldb/trunk/test/lang/c/global_variables/TestGlobalVariables.py (original)
+++ lldb/trunk/test/lang/c/global_variables/TestGlobalVariables.py Tue Aug  9 12:48:29 2011
@@ -71,6 +71,8 @@
         #         >
         self.expect("target variable g_marked_spot.y", VARIABLES_DISPLAYED_CORRECTLY,
                     substrs = ['g_marked_spot.y', '21'])
+        self.expect("target variable g_marked_spot.y", VARIABLES_DISPLAYED_CORRECTLY, matching=False,
+                    substrs = ["can't be resolved"])
 
 
 if __name__ == '__main__':





More information about the lldb-commits mailing list