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

Johnny Chen johnny.chen at apple.com
Thu Nov 11 16:50:46 PST 2010


Author: johnny
Date: Thu Nov 11 18:50:45 2010
New Revision: 118867

URL: http://llvm.org/viewvc/llvm-project?rev=118867&view=rev
Log:
Fix the @expectedFailure usage error and add a commented out section of code to
exercise 'expression' command on namespaced variables.

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=118867&r1=118866&r2=118867&view=diff
==============================================================================
--- lldb/trunk/test/namespace/TestNamespace.py (original)
+++ lldb/trunk/test/namespace/TestNamespace.py Thu Nov 11 18:50:45 2010
@@ -17,7 +17,8 @@
         self.buildDsym()
         self.namespace_variable_commands()
 
-    @unittest2.expectedFailre("rdar://problem/8659840")
+    @unittest2.expectedFailure
+    # rdar://problem/8659840
     def test_with_dwarf_and_run_command(self):
         """Test that anonymous and named namespace variables display correctly."""
         self.buildDwarf()
@@ -59,6 +60,9 @@
             startstr = "main.cpp:%d: (int) A::B::j = 4" % self.line_var_j)
         # main.cpp:19: (int) A::B::j = 4
 
+        #self.expect("expression -- i + j",
+        #    startstr = "(int) $0 = 7")
+        # (int) $0 = 7
 
 if __name__ == '__main__':
     import atexit





More information about the lldb-commits mailing list