Mark test as expected-to-fail with GCC because some versions emit DWARF that claims

functions start at the line with the "{" character, whereas clang uses the first line
with source code. As such, this test case will only work with clang.

llvm-svn: 175808
This commit is contained in:
Daniel Malea 2013-02-21 22:15:52 +00:00
parent 2edaf4e973
commit a20e28daff
1 changed files with 6 additions and 0 deletions

View File

@ -18,6 +18,9 @@ class TestInlineStepping(TestBase):
self.buildDsym()
self.inline_stepping()
@expectedFailureGcc # Some versions of GCC emit DWARF that considers functions to start at the line with the '{' whereas this test
# expects the first line of a function to be the first line of source (i.e. what clang does). As such, this test
# fails with some versions of GCC.
@python_api_test
@dwarf_test
def test_with_dwarf_and_python_api(self):
@ -33,6 +36,9 @@ class TestInlineStepping(TestBase):
self.buildDsym()
self.inline_stepping_step_over()
@expectedFailureGcc # Some versions of GCC emit DWARF that considers functions to start at the line with the '{' whereas this test
# expects the first line of a function to be the first line of source (i.e. what clang does). As such, this test
# fails with some versions of GCC.
@python_api_test
@dwarf_test
def test_step_over_with_dwarf_and_python_api(self):