From d7a2fc830f599c28cea9818f507ed62c67d42e7e Mon Sep 17 00:00:00 2001 From: Siva Chandra Date: Fri, 10 Apr 2015 19:24:48 +0000 Subject: [PATCH] [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 llvm-svn: 234624 --- lldb/test/lang/c/anonymous/TestAnonymous.py | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/lldb/test/lang/c/anonymous/TestAnonymous.py b/lldb/test/lang/c/anonymous/TestAnonymous.py index a25af8b..1a2ce29 100644 --- a/lldb/test/lang/c/anonymous/TestAnonymous.py +++ b/lldb/test/lang/c/anonymous/TestAnonymous.py @@ -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() -- 2.7.4