[TestAnonymous] Enable all tests for GCC
authorSiva Chandra <sivachandra@google.com>
Fri, 10 Apr 2015 19:24:48 +0000 (19:24 +0000)
committerSiva Chandra <sivachandra@google.com>
Fri, 10 Apr 2015 19:24:48 +0000 (19:24 +0000)
Summary:
Also added "_with_dsym" prefix to the dsym tests, and "_with_dwarf" to the dwarf tests.

Test Plan: dotest.py -C gcc -p TestAnonymous

Reviewers: chaoren

Reviewed By: chaoren

Subscribers: lldb-commits

Differential Revision: http://reviews.llvm.org/D8944

llvm-svn: 234624

lldb/test/lang/c/anonymous/TestAnonymous.py

index a25af8b..1a2ce29 100644 (file)
@@ -26,21 +26,20 @@ class AnonymousTestCase(TestBase):
         self.expr_grandchild()
 
     @dsym_test
-    def test_expr_parent(self):
+    def test_expr_parent_with_dsym(self):
         self.buildDsym()
         self.expr_parent()
 
     @dsym_test
-    def test_expr_null(self):
+    def test_expr_null_with_dsym(self):
         self.buildDsym()
         self.expr_null()
 
     @dsym_test
-    def test_child_by_name(self):
+    def test_child_by_name_with_dsym(self):
         self.buildDsym()
         self.child_by_name()
 
-    @skipIfGcc # llvm.org/pr15036: LLDB generates an incorrect AST layout for an anonymous struct when DWARF is generated by GCC
     @skipIfIcc # llvm.org/pr15036: LLDB generates an incorrect AST layout for an anonymous struct when DWARF is generated by ICC
     @dwarf_test
     def test_expr_nest_with_dwarf(self):
@@ -49,11 +48,9 @@ class AnonymousTestCase(TestBase):
 
     @dwarf_test
     def test_expr_child_with_dwarf(self):
-        self.skipTest("Skipped because LLDB asserts due to an incorrect AST layout for an anonymous struct: see llvm.org/pr15036")
         self.buildDwarf()
         self.expr_child()
 
-    @skipIfGcc # llvm.org/pr15036: This particular regression was introduced by r181498
     @skipIfIcc # llvm.org/pr15036: This particular regression was introduced by r181498
     @dwarf_test
     def test_expr_grandchild_with_dwarf(self):
@@ -61,13 +58,13 @@ class AnonymousTestCase(TestBase):
         self.expr_grandchild()
 
     @dwarf_test
-    def test_expr_parent(self):
+    def test_expr_parent_with_dwarf(self):
         self.buildDwarf()
         self.expr_parent()
 
     @expectedFailureFreeBSD('llvm.org/pr21550')
     @dwarf_test
-    def test_expr_null(self):
+    def test_expr_null_with_dwarf(self):
         self.buildDwarf()
         self.expr_null()