[Lldb-commits] [lldb] r175808 - Mark test as expected-to-fail with GCC because some versions emit DWARF that claims

Daniel Malea daniel.malea at intel.com
Thu Feb 21 14:15:52 PST 2013


Author: dmalea
Date: Thu Feb 21 16:15:52 2013
New Revision: 175808

URL: http://llvm.org/viewvc/llvm-project?rev=175808&view=rev
Log:
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.


Modified:
    lldb/trunk/test/functionalities/inline-stepping/TestInlineStepping.py

Modified: lldb/trunk/test/functionalities/inline-stepping/TestInlineStepping.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/inline-stepping/TestInlineStepping.py?rev=175808&r1=175807&r2=175808&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/inline-stepping/TestInlineStepping.py (original)
+++ lldb/trunk/test/functionalities/inline-stepping/TestInlineStepping.py Thu Feb 21 16:15:52 2013
@@ -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):





More information about the lldb-commits mailing list