[Lldb-commits] [lldb] r118021 - /lldb/trunk/test/types/AbstractBase.py

Johnny Chen johnny.chen at apple.com
Tue Nov 2 10:06:08 PDT 2010


Author: johnny
Date: Tue Nov  2 12:06:08 2010
New Revision: 118021

URL: http://llvm.org/viewvc/llvm-project?rev=118021&view=rev
Log:
Remove the reference-related variable displays that now pass from the 'notnow' set.
The failures that remain are:

        # rdar://problem/8620735 test/types: frame variable -t a_class_ref.m_b fails
        # The reference type related failures that remain are:
        notnow = set(['a_class_ref.m_b',
                      'a_struct_ref.b',
                      'a_union_nonzero_ref.u.a'])

Modified:
    lldb/trunk/test/types/AbstractBase.py

Modified: lldb/trunk/test/types/AbstractBase.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/types/AbstractBase.py?rev=118021&r1=118020&r2=118021&view=diff
==============================================================================
--- lldb/trunk/test/types/AbstractBase.py (original)
+++ lldb/trunk/test/types/AbstractBase.py Tue Nov  2 12:06:08 2010
@@ -45,10 +45,17 @@
         #
         # rdar://problem/8471016 frame variable a_ref should display the referenced value as well
         # rdar://problem/8470987 frame variable a_class_ref.m_a does not work
-        notnow = set(['a_ref',
-                      'a_class_ref.m_a', 'a_class_ref.m_b',
-                      'a_struct_ref.a', 'a_struct_ref.b',
-                      'a_union_zero_ref.a', 'a_union_nonzero_ref.u.a'])
+        # notnow = set(['a_ref',
+        #               'a_class_ref.m_a', 'a_class_ref.m_b',
+        #               'a_struct_ref.a', 'a_struct_ref.b',
+        #               'a_union_zero_ref.a', 'a_union_nonzero_ref.u.a'])
+        #
+        # rdar://problem/8620735 test/types: frame variable -t a_class_ref.m_b fails
+        # The reference type related failures that remain are:
+        notnow = set(['a_class_ref.m_b',
+                      'a_struct_ref.b',
+                      'a_union_nonzero_ref.u.a'])
+
         for line in go.split(os.linesep):
             match = self.pattern.search(line)
             if match:
@@ -93,7 +100,7 @@
                 substrs = list(atoms))
 
             # The (var, val) pair must match, too.
-            nv = (" %s = '%s'" if quotedDisplay else " %s = %s") % (var, val)
+            nv = ("%s = '%s'" if quotedDisplay else "%s = %s") % (var, val)
             self.expect(output, Msg(var, val), exe=False,
                 substrs = [nv])
 





More information about the lldb-commits mailing list