[Lldb-commits] [lldb] r136633 - /lldb/trunk/test/expression_command/radar_9673664/TestExprHelpExamples.py

Johnny Chen johnny.chen at apple.com
Mon Aug 1 11:26:32 PDT 2011


Author: johnny
Date: Mon Aug  1 13:26:32 2011
New Revision: 136633

URL: http://llvm.org/viewvc/llvm-project?rev=136633&view=rev
Log:
Remove the @expectedFailure decorator since the bug has been fixed.

rdar://problem/9673664

Modified:
    lldb/trunk/test/expression_command/radar_9673664/TestExprHelpExamples.py

Modified: lldb/trunk/test/expression_command/radar_9673664/TestExprHelpExamples.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/expression_command/radar_9673664/TestExprHelpExamples.py?rev=136633&r1=136632&r2=136633&view=diff
==============================================================================
--- lldb/trunk/test/expression_command/radar_9673664/TestExprHelpExamples.py (original)
+++ lldb/trunk/test/expression_command/radar_9673664/TestExprHelpExamples.py Mon Aug  1 13:26:32 2011
@@ -19,7 +19,6 @@
         self.line = line_number(self.main_source, '// Set breakpoint here.')
 
     # rdar://problem/9673664
-    @unittest2.expectedFailure
     def test_expr_commands(self):
         """The following expression commands should just work."""
         self.buildDefault()
@@ -35,9 +34,10 @@
 
         # rdar://problem/9673664 lldb expression evaluation problem
 
-        self.runCmd('expr char c[] = "foo"; c[0]')
-        # Fill in an example output here.
-        # And change self.runCmd() -> self.expect()...
+        self.expect('expr char c[] = "foo"; c[0]',
+            substrs = ["'f'"])
+        # runCmd: expr char c[] = "foo"; c[0]
+        # output: (char) $0 = 'f'
 
 
 if __name__ == '__main__':





More information about the lldb-commits mailing list