[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
This commit is contained in:
Siva Chandra 2015-04-10 19:24:48 +00:00
parent 5cc8535596
commit d7a2fc830f
1 changed files with 5 additions and 8 deletions

View 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()