[Lldb-commits] [lldb] r113755 - /lldb/trunk/test/global_variables/TestGlobalVariables.py

Johnny Chen johnny.chen at apple.com
Mon Sep 13 09:46:00 PDT 2010


Author: johnny
Date: Mon Sep 13 11:45:59 2010
New Revision: 113755

URL: http://llvm.org/viewvc/llvm-project?rev=113755&view=rev
Log:
Updated the expected matching strings.

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

Modified: lldb/trunk/test/global_variables/TestGlobalVariables.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/global_variables/TestGlobalVariables.py?rev=113755&r1=113754&r2=113755&view=diff
==============================================================================
--- lldb/trunk/test/global_variables/TestGlobalVariables.py (original)
+++ lldb/trunk/test/global_variables/TestGlobalVariables.py Mon Sep 13 11:45:59 2010
@@ -41,12 +41,11 @@
             substrs = [' resolved, hit count = 1'])
 
         # Check that GLOBAL scopes are indicated for the variables.
-        self.expect("frame variable -s -a", VARIABLES_DISPLAYED_CORRECTLY,
-            substrs = ['GLOBAL: g_file_static_cstr',
+        self.expect("frame variable -s -g -a", VARIABLES_DISPLAYED_CORRECTLY,
+            substrs = ['GLOBAL: (char const *) g_file_static_cstr',
                        '"g_file_static_cstr"',
-                       'GLOBAL: g_file_global_int',
-                       '(int) 42',
-                       'GLOBAL: g_file_global_cstr',
+                       'GLOBAL: (int) g_file_global_int = 42',
+                       'GLOBAL: (char const *) g_file_global_cstr',
                        '"g_file_global_cstr"'])
 
 





More information about the lldb-commits mailing list