[Lldb-commits] [lldb] r115229 - in /lldb/trunk/test/types: TestFloatTypesExpr.py TestIntegerTypesExpr.py

Johnny Chen johnny.chen at apple.com
Thu Sep 30 15:49:07 PDT 2010


Author: johnny
Date: Thu Sep 30 17:49:07 2010
New Revision: 115229

URL: http://llvm.org/viewvc/llvm-project?rev=115229&view=rev
Log:
Updated to remove most of the @expectedFailure decorators for:

    # rdar://problem/8493023
    # test/types failures for Test*TypesExpr.py: element offset computed wrong and sign error?

Two failures remain for test_short* test cases.

Modified:
    lldb/trunk/test/types/TestFloatTypesExpr.py
    lldb/trunk/test/types/TestIntegerTypesExpr.py

Modified: lldb/trunk/test/types/TestFloatTypesExpr.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/types/TestFloatTypesExpr.py?rev=115229&r1=115228&r2=115229&view=diff
==============================================================================
--- lldb/trunk/test/types/TestFloatTypesExpr.py (original)
+++ lldb/trunk/test/types/TestFloatTypesExpr.py Thu Sep 30 17:49:07 2010
@@ -10,9 +10,9 @@
 
     mydir = "types"
 
-    @unittest2.expectedFailure
     # rdar://problem/8493023
-    # test/types failures for Test*TypesExpr.py: element offset computed wrong?
+    # test/types failures for Test*TypesExpr.py: element offset computed wrong and sign error?
+
     def test_float_types_with_dsym(self):
         """Test that float-type variable expressions are evaluated correctly."""
         d = {'CXX_SOURCES': 'float.cpp'}
@@ -20,7 +20,6 @@
         self.setTearDownCleanup(dictionary=d)
         self.float_type_expr()
 
-    @unittest2.expectedFailure
     def test_float_type_with_dwarf(self):
         """Test that float-type variable expressions are evaluated correctly."""
         d = {'CXX_SOURCES': 'float.cpp'}
@@ -28,7 +27,6 @@
         self.setTearDownCleanup(dictionary=d)
         self.float_type_expr()
 
-    @unittest2.expectedFailure
     def test_double_type_with_dsym(self):
         """Test that double-type variable expressions are evaluated correctly."""
         d = {'CXX_SOURCES': 'double.cpp'}
@@ -36,7 +34,6 @@
         self.setTearDownCleanup(dictionary=d)
         self.double_type_expr()
 
-    @unittest2.expectedFailure
     def test_double_type_with_dwarf(self):
         """Test that double-type variable expressions are evaluated correctly."""
         d = {'CXX_SOURCES': 'double.cpp'}

Modified: lldb/trunk/test/types/TestIntegerTypesExpr.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/types/TestIntegerTypesExpr.py?rev=115229&r1=115228&r2=115229&view=diff
==============================================================================
--- lldb/trunk/test/types/TestIntegerTypesExpr.py (original)
+++ lldb/trunk/test/types/TestIntegerTypesExpr.py Thu Sep 30 17:49:07 2010
@@ -10,9 +10,9 @@
 
     mydir = "types"
 
-    @unittest2.expectedFailure
     # rdar://problem/8493023
-    # test/types failures for Test*TypesExpr.py: element offset computed wrong?
+    # test/types failures for Test*TypesExpr.py: element offset computed wrong and sign error?
+
     def test_char_type_with_dsym(self):
         """Test that char-type variable expressions are evaluated correctly."""
         d = {'CXX_SOURCES': 'char.cpp'}
@@ -20,7 +20,6 @@
         self.setTearDownCleanup(dictionary=d)
         self.char_type_expr()
 
-    @unittest2.expectedFailure
     def test_char_type_with_dwarf(self):
         """Test that char-type variable expressions are evaluated correctly."""
         d = {'CXX_SOURCES': 'char.cpp'}
@@ -28,7 +27,6 @@
         self.setTearDownCleanup(dictionary=d)
         self.char_type_expr()
 
-    @unittest2.expectedFailure
     def test_unsigned_char_type_with_dsym(self):
         """Test that 'unsigned_char'-type variable expressions are evaluated correctly."""
         d = {'CXX_SOURCES': 'unsigned_char.cpp'}
@@ -36,7 +34,6 @@
         self.setTearDownCleanup(dictionary=d)
         self.unsigned_char_type_expr()
 
-    @unittest2.expectedFailure
     def test_unsigned_char_type_with_dwarf(self):
         """Test that 'unsigned char'-type variable expressions are evaluated correctly."""
         d = {'CXX_SOURCES': 'unsigned_char.cpp'}
@@ -60,7 +57,6 @@
         self.setTearDownCleanup(dictionary=d)
         self.short_type_expr()
 
-    @unittest2.expectedFailure
     def test_unsigned_short_type_with_dsym(self):
         """Test that 'unsigned_short'-type variable expressions are evaluated correctly."""
         d = {'CXX_SOURCES': 'unsigned_short.cpp'}
@@ -68,7 +64,6 @@
         self.setTearDownCleanup(dictionary=d)
         self.unsigned_short_type_expr()
 
-    @unittest2.expectedFailure
     def test_unsigned_short_type_with_dwarf(self):
         """Test that 'unsigned short'-type variable expressions are evaluated correctly."""
         d = {'CXX_SOURCES': 'unsigned_short.cpp'}
@@ -76,7 +71,6 @@
         self.setTearDownCleanup(dictionary=d)
         self.unsigned_short_type_expr()
 
-    @unittest2.expectedFailure
     def test_int_type_with_dsym(self):
         """Test that int-type variable expressions are evaluated correctly."""
         d = {'CXX_SOURCES': 'int.cpp'}
@@ -84,7 +78,6 @@
         self.setTearDownCleanup(dictionary=d)
         self.int_type_expr()
 
-    @unittest2.expectedFailure
     def test_int_type_with_dwarf(self):
         """Test that int-type variable expressions are evaluated correctly."""
         d = {'CXX_SOURCES': 'int.cpp'}
@@ -92,7 +85,6 @@
         self.setTearDownCleanup(dictionary=d)
         self.int_type_expr()
 
-    @unittest2.expectedFailure
     def test_unsigned_int_type_with_dsym(self):
         """Test that 'unsigned_int'-type variable expressions are evaluated correctly."""
         d = {'CXX_SOURCES': 'unsigned_int.cpp'}
@@ -100,7 +92,6 @@
         self.setTearDownCleanup(dictionary=d)
         self.unsigned_int_type_expr()
 
-    @unittest2.expectedFailure
     def test_unsigned_int_type_with_dwarf(self):
         """Test that 'unsigned int'-type variable expressions are evaluated correctly."""
         d = {'CXX_SOURCES': 'unsigned_int.cpp'}
@@ -108,7 +99,6 @@
         self.setTearDownCleanup(dictionary=d)
         self.unsigned_int_type_expr()
 
-    @unittest2.expectedFailure
     def test_long_type_with_dsym(self):
         """Test that long-type variable expressions are evaluated correctly."""
         d = {'CXX_SOURCES': 'long.cpp'}
@@ -116,7 +106,6 @@
         self.setTearDownCleanup(dictionary=d)
         self.long_type_expr()
 
-    @unittest2.expectedFailure
     def test_long_type_with_dwarf(self):
         """Test that long-type variable expressions are evaluated correctly."""
         d = {'CXX_SOURCES': 'long.cpp'}
@@ -124,7 +113,6 @@
         self.setTearDownCleanup(dictionary=d)
         self.long_type_expr()
 
-    @unittest2.expectedFailure
     def test_unsigned_long_type_with_dsym(self):
         """Test that 'unsigned long'-type variable expressions are evaluated correctly."""
         d = {'CXX_SOURCES': 'unsigned_long.cpp'}
@@ -132,7 +120,6 @@
         self.setTearDownCleanup(dictionary=d)
         self.unsigned_long_type_expr()
 
-    @unittest2.expectedFailure
     def test_unsigned_long_type_with_dwarf(self):
         """Test that 'unsigned long'-type variable expressions are evaluated correctly."""
         d = {'CXX_SOURCES': 'unsigned_long.cpp'}





More information about the lldb-commits mailing list