forked from OSchip/llvm-project
[lldb] Skip libstdc++ tests failing with GCC
Tracked in llvm.org/pr50861 These tests fail with all GCC versions I tested (8.5, 9.4, 10.3, 11.1).
This commit is contained in:
parent
487ac0b3ee
commit
0adc66ff83
|
@ -21,6 +21,7 @@ class StdIteratorDataFormatterTestCase(TestBase):
|
||||||
self.line = line_number('main.cpp', '// Set break point at this line.')
|
self.line = line_number('main.cpp', '// Set break point at this line.')
|
||||||
|
|
||||||
@add_test_categories(["libstdcxx"])
|
@add_test_categories(["libstdcxx"])
|
||||||
|
@expectedFailureAll(bugnumber="llvm.org/pr50861", compiler="gcc")
|
||||||
def test_with_run_command(self):
|
def test_with_run_command(self):
|
||||||
"""Test that libstdcpp iterators format properly."""
|
"""Test that libstdcpp iterators format properly."""
|
||||||
self.build()
|
self.build()
|
||||||
|
|
|
@ -25,6 +25,7 @@ class StdListDataFormatterTestCase(TestBase):
|
||||||
'main.cpp', '// Set final break point at this line.')
|
'main.cpp', '// Set final break point at this line.')
|
||||||
|
|
||||||
@add_test_categories(["libstdcxx"])
|
@add_test_categories(["libstdcxx"])
|
||||||
|
@expectedFailureAll(bugnumber="llvm.org/pr50861", compiler="gcc")
|
||||||
def test_with_run_command(self):
|
def test_with_run_command(self):
|
||||||
"""Test that that file and class static variables display correctly."""
|
"""Test that that file and class static variables display correctly."""
|
||||||
self.build()
|
self.build()
|
||||||
|
|
|
@ -21,6 +21,7 @@ class StdMapDataFormatterTestCase(TestBase):
|
||||||
self.line = line_number('main.cpp', '// Set break point at this line.')
|
self.line = line_number('main.cpp', '// Set break point at this line.')
|
||||||
|
|
||||||
@add_test_categories(["libstdcxx"])
|
@add_test_categories(["libstdcxx"])
|
||||||
|
@expectedFailureAll(bugnumber="llvm.org/pr50861", compiler="gcc")
|
||||||
def test_with_run_command(self):
|
def test_with_run_command(self):
|
||||||
"""Test that that file and class static variables display correctly."""
|
"""Test that that file and class static variables display correctly."""
|
||||||
self.build()
|
self.build()
|
||||||
|
|
|
@ -13,6 +13,7 @@ class StdSmartPtrDataFormatterTestCase(TestBase):
|
||||||
mydir = TestBase.compute_mydir(__file__)
|
mydir = TestBase.compute_mydir(__file__)
|
||||||
|
|
||||||
@add_test_categories(["libstdcxx"])
|
@add_test_categories(["libstdcxx"])
|
||||||
|
@expectedFailureAll(bugnumber="llvm.org/pr50861", compiler="gcc")
|
||||||
def test_with_run_command(self):
|
def test_with_run_command(self):
|
||||||
self.build()
|
self.build()
|
||||||
self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
|
self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
|
||||||
|
|
|
@ -22,6 +22,7 @@ class StdStringDataFormatterTestCase(TestBase):
|
||||||
self.line = line_number('main.cpp', '// Set break point at this line.')
|
self.line = line_number('main.cpp', '// Set break point at this line.')
|
||||||
|
|
||||||
@add_test_categories(["libstdcxx"])
|
@add_test_categories(["libstdcxx"])
|
||||||
|
@expectedFailureAll(bugnumber="llvm.org/pr50861", compiler="gcc")
|
||||||
def test_with_run_command(self):
|
def test_with_run_command(self):
|
||||||
"""Test that that file and class static variables display correctly."""
|
"""Test that that file and class static variables display correctly."""
|
||||||
self.build()
|
self.build()
|
||||||
|
|
|
@ -13,6 +13,7 @@ class StdTupleDataFormatterTestCase(TestBase):
|
||||||
mydir = TestBase.compute_mydir(__file__)
|
mydir = TestBase.compute_mydir(__file__)
|
||||||
|
|
||||||
@add_test_categories(["libstdcxx"])
|
@add_test_categories(["libstdcxx"])
|
||||||
|
@expectedFailureAll(bugnumber="llvm.org/pr50861", compiler="gcc")
|
||||||
def test_with_run_command(self):
|
def test_with_run_command(self):
|
||||||
self.build()
|
self.build()
|
||||||
self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
|
self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
|
||||||
|
|
|
@ -13,6 +13,7 @@ class StdUniquePtrDataFormatterTestCase(TestBase):
|
||||||
mydir = TestBase.compute_mydir(__file__)
|
mydir = TestBase.compute_mydir(__file__)
|
||||||
|
|
||||||
@add_test_categories(["libstdcxx"])
|
@add_test_categories(["libstdcxx"])
|
||||||
|
@expectedFailureAll(bugnumber="llvm.org/pr50861", compiler="gcc")
|
||||||
@skipIf(oslist=["linux"], archs=["arm", "aarch64"])
|
@skipIf(oslist=["linux"], archs=["arm", "aarch64"])
|
||||||
def test_with_run_command(self):
|
def test_with_run_command(self):
|
||||||
self.build()
|
self.build()
|
||||||
|
|
|
@ -21,6 +21,7 @@ class StdVectorDataFormatterTestCase(TestBase):
|
||||||
self.line = line_number('main.cpp', '// Set break point at this line.')
|
self.line = line_number('main.cpp', '// Set break point at this line.')
|
||||||
|
|
||||||
@add_test_categories(["libstdcxx"])
|
@add_test_categories(["libstdcxx"])
|
||||||
|
@expectedFailureAll(bugnumber="llvm.org/pr50861", compiler="gcc")
|
||||||
def test_with_run_command(self):
|
def test_with_run_command(self):
|
||||||
"""Test that that file and class static variables display correctly."""
|
"""Test that that file and class static variables display correctly."""
|
||||||
self.build()
|
self.build()
|
||||||
|
|
Loading…
Reference in New Issue