[Lldb-commits] [lldb] r234624 - [TestAnonymous] Enable all tests for GCC

Siva Chandra sivachandra at google.com
Fri Apr 10 12:24:48 PDT 2015


Author: sivachandra
Date: Fri Apr 10 14:24:48 2015
New Revision: 234624

URL: http://llvm.org/viewvc/llvm-project?rev=234624&view=rev
Log:
[TestAnonymous] Enable all tests for GCC

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

Modified:
    lldb/trunk/test/lang/c/anonymous/TestAnonymous.py

Modified: lldb/trunk/test/lang/c/anonymous/TestAnonymous.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/c/anonymous/TestAnonymous.py?rev=234624&r1=234623&r2=234624&view=diff
==============================================================================
--- lldb/trunk/test/lang/c/anonymous/TestAnonymous.py (original)
+++ lldb/trunk/test/lang/c/anonymous/TestAnonymous.py Fri Apr 10 14:24:48 2015
@@ -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()
 





More information about the lldb-commits mailing list