[Lldb-commits] [lldb] r119172 - /lldb/trunk/test/namespace/TestNamespace.py

Johnny Chen johnny.chen at apple.com
Mon Nov 15 11:10:53 PST 2010


Author: johnny
Date: Mon Nov 15 13:10:53 2010
New Revision: 119172

URL: http://llvm.org/viewvc/llvm-project?rev=119172&view=rev
Log:
Check in a test case for rdar://problem/8668740:

    'frame variable' output for namespace variables look wrong

Modified:
    lldb/trunk/test/namespace/TestNamespace.py

Modified: lldb/trunk/test/namespace/TestNamespace.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/namespace/TestNamespace.py?rev=119172&r1=119171&r2=119172&view=diff
==============================================================================
--- lldb/trunk/test/namespace/TestNamespace.py (original)
+++ lldb/trunk/test/namespace/TestNamespace.py Mon Nov 15 13:10:53 2010
@@ -54,6 +54,18 @@
             substrs = ['state is stopped',
                        'stop reason = breakpoint'])
 
+        # rdar://problem/8668740
+        # 'frame variable' output for namespace variables look wrong
+        # (lldb) frame variable
+        # (int) a = 12
+        # (A::B::uint_t) anon_uint = 0
+        # (A::B::uint_t) a_uint = 1
+        # (A::B::uint_t) b_uint = 2
+        # (A::B::uint_t) y_uint = 3
+        # (lldb) 
+        self.expect('frame variable', VARIABLES_DISPLAYED_CORRECTLY,
+            substrs = [''])
+
         # 'frame variable' with basename 'i' should work.
         self.expect("frame variable -c -G i",
             startstr = "main.cpp:%d: (int) (anonymous namespace)::i = 3" % self.line_var_i)





More information about the lldb-commits mailing list