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

Johnny Chen johnny.chen at apple.com
Wed Sep 29 12:02:20 PDT 2010


Author: johnny
Date: Wed Sep 29 14:02:20 2010
New Revision: 115065

URL: http://llvm.org/viewvc/llvm-project?rev=115065&view=rev
Log:
Added @expectedFailure decorators for test suite failures:

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


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=115065&r1=115064&r2=115065&view=diff
==============================================================================
--- lldb/trunk/test/types/TestFloatTypesExpr.py (original)
+++ lldb/trunk/test/types/TestFloatTypesExpr.py Wed Sep 29 14:02:20 2010
@@ -10,6 +10,9 @@
 
     mydir = "types"
 
+    @unittest2.expectedFailure
+    # rdar://problem/8493023
+    # test/types failures for Test*TypesExpr.py: element offset computed wrong?
     def test_float_types_with_dsym(self):
         """Test that float-type variable expressions are evaluated correctly."""
         d = {'CXX_SOURCES': 'float.cpp'}
@@ -17,6 +20,7 @@
         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'}
@@ -24,6 +28,7 @@
         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'}
@@ -31,6 +36,7 @@
         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=115065&r1=115064&r2=115065&view=diff
==============================================================================
--- lldb/trunk/test/types/TestIntegerTypesExpr.py (original)
+++ lldb/trunk/test/types/TestIntegerTypesExpr.py Wed Sep 29 14:02:20 2010
@@ -10,6 +10,9 @@
 
     mydir = "types"
 
+    @unittest2.expectedFailure
+    # rdar://problem/8493023
+    # test/types failures for Test*TypesExpr.py: element offset computed wrong?
     def test_char_type_with_dsym(self):
         """Test that char-type variable expressions are evaluated correctly."""
         d = {'CXX_SOURCES': 'char.cpp'}
@@ -17,6 +20,7 @@
         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'}
@@ -24,6 +28,7 @@
         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'}
@@ -31,6 +36,7 @@
         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'}
@@ -38,6 +44,7 @@
         self.setTearDownCleanup(dictionary=d)
         self.unsigned_char_type_expr()
 
+    @unittest2.expectedFailure
     def test_short_type_with_dsym(self):
         """Test that short-type variable expressions are evaluated correctly."""
         d = {'CXX_SOURCES': 'short.cpp'}
@@ -45,6 +52,7 @@
         self.setTearDownCleanup(dictionary=d)
         self.short_type_expr()
 
+    @unittest2.expectedFailure
     def test_short_type_with_dwarf(self):
         """Test that short-type variable expressions are evaluated correctly."""
         d = {'CXX_SOURCES': 'short.cpp'}
@@ -52,6 +60,7 @@
         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'}
@@ -59,6 +68,7 @@
         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'}
@@ -66,6 +76,7 @@
         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'}
@@ -73,6 +84,7 @@
         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'}
@@ -80,6 +92,7 @@
         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'}
@@ -87,6 +100,7 @@
         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'}
@@ -94,6 +108,7 @@
         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'}
@@ -101,6 +116,7 @@
         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'}
@@ -108,6 +124,7 @@
         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'}
@@ -115,6 +132,7 @@
         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