Mark some tests as xfail on AArch64 Linux
I have either opened new bug reports for these tests, or added links to existing bugs. This should help make the lldb-aarch64-ubuntu buildbot green (there will still be some unexpected passes that someone should look into, but those can be handled later).
This commit is contained in:
@@ -7,6 +7,8 @@ class StaticInitializers(TestBase):
|
||||
|
||||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
@expectedFailureAll(archs="aarch64", oslist="linux",
|
||||
bugnumber="https://bugs.llvm.org/show_bug.cgi?id=44053")
|
||||
def test(self):
|
||||
""" Test a static initializer. """
|
||||
self.build()
|
||||
|
||||
@@ -26,6 +26,8 @@ class BreakpointLocationsTestCase(TestBase):
|
||||
self.assertTrue(breakpoint.IsHardware())
|
||||
|
||||
@skipIfWindows
|
||||
@expectedFailureAll(archs="aarch64", oslist="linux",
|
||||
bugnumber="https://bugs.llvm.org/show_bug.cgi?id=44055")
|
||||
def test_step_range(self):
|
||||
"""Test stepping when hardware breakpoints are required."""
|
||||
self.build()
|
||||
@@ -47,6 +49,8 @@ class BreakpointLocationsTestCase(TestBase):
|
||||
in error.GetCString())
|
||||
|
||||
@skipIfWindows
|
||||
@expectedFailureAll(archs="aarch64", oslist="linux",
|
||||
bugnumber="https://bugs.llvm.org/show_bug.cgi?id=44055")
|
||||
def test_step_out(self):
|
||||
"""Test stepping out when hardware breakpoints are required."""
|
||||
self.build()
|
||||
@@ -67,6 +71,8 @@ class BreakpointLocationsTestCase(TestBase):
|
||||
in error.GetCString())
|
||||
|
||||
@skipIfWindows
|
||||
@expectedFailureAll(archs="aarch64", oslist="linux",
|
||||
bugnumber="https://bugs.llvm.org/show_bug.cgi?id=44055")
|
||||
def test_step_over(self):
|
||||
"""Test stepping over when hardware breakpoints are required."""
|
||||
self.build()
|
||||
@@ -85,6 +91,8 @@ class BreakpointLocationsTestCase(TestBase):
|
||||
])
|
||||
|
||||
@skipIfWindows
|
||||
@expectedFailureAll(archs="aarch64", oslist="linux",
|
||||
bugnumber="https://bugs.llvm.org/show_bug.cgi?id=44055")
|
||||
def test_step_until(self):
|
||||
"""Test stepping until when hardware breakpoints are required."""
|
||||
self.build()
|
||||
|
||||
@@ -18,6 +18,8 @@ class TestInlineStepping(TestBase):
|
||||
compiler="icc",
|
||||
bugnumber="# Not really a bug. ICC combines two inlined functions.")
|
||||
@expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr32343")
|
||||
@expectedFailureAll(archs=["aarch64"], oslist=["linux"],
|
||||
bugnumber="llvm.org/pr44057")
|
||||
def test_with_python_api(self):
|
||||
"""Test stepping over and into inlined functions."""
|
||||
self.build()
|
||||
|
||||
@@ -363,12 +363,16 @@ class LoadUnloadTestCase(TestBase):
|
||||
|
||||
@skipIfFreeBSD # llvm.org/pr14424 - missing FreeBSD Makefiles/testcase support
|
||||
@skipIfWindows # Windows doesn't have dlopen and friends, dynamic libraries work differently
|
||||
@expectedFailureAll(archs="aarch64", oslist="linux",
|
||||
bugnumber="https://bugs.llvm.org/show_bug.cgi?id=27806")
|
||||
def test_step_over_load(self):
|
||||
self.setSvr4Support(False)
|
||||
self.run_step_over_load()
|
||||
|
||||
@skipIfFreeBSD # llvm.org/pr14424 - missing FreeBSD Makefiles/testcase support
|
||||
@skipIfWindows # Windows doesn't have dlopen and friends, dynamic libraries work differently
|
||||
@expectedFailureAll(archs="aarch64", oslist="linux",
|
||||
bugnumber="https://bugs.llvm.org/show_bug.cgi?id=27806")
|
||||
def test_step_over_load_with_svr4(self):
|
||||
self.setSvr4Support(True)
|
||||
self.run_step_over_load()
|
||||
|
||||
@@ -19,6 +19,9 @@ class ReturnValueTestCase(TestBase):
|
||||
return ("clang" in self.getCompiler() and self.getArchitecture() ==
|
||||
"aarch64" and self.getPlatform() == "linux")
|
||||
|
||||
def affected_by_pr44132(self):
|
||||
return (self.getArchitecture() == "aarch64" and self.getPlatform() == "linux")
|
||||
|
||||
# ABIMacOSX_arm can't fetch simple values inside a structure
|
||||
def affected_by_radar_34562999(self):
|
||||
return (self.getArchitecture() == 'armv7' or self.getArchitecture() == 'armv7k') and self.platformIsDarwin()
|
||||
@@ -123,8 +126,8 @@ class ReturnValueTestCase(TestBase):
|
||||
|
||||
#self.assertTrue(in_float == return_float)
|
||||
|
||||
if not self.affected_by_radar_34562999():
|
||||
self.return_and_test_struct_value("return_one_int")
|
||||
if not self.affected_by_radar_34562999() and not self.affected_by_pr44132():
|
||||
self.return_and_test_struct_value("return_one_int")
|
||||
self.return_and_test_struct_value("return_two_int")
|
||||
self.return_and_test_struct_value("return_three_int")
|
||||
self.return_and_test_struct_value("return_four_int")
|
||||
@@ -182,10 +185,12 @@ class ReturnValueTestCase(TestBase):
|
||||
|
||||
self.return_and_test_struct_value("return_vector_size_float32_8")
|
||||
self.return_and_test_struct_value("return_vector_size_float32_16")
|
||||
self.return_and_test_struct_value("return_vector_size_float32_32")
|
||||
if not self.affected_by_pr44132():
|
||||
self.return_and_test_struct_value("return_vector_size_float32_32")
|
||||
self.return_and_test_struct_value("return_ext_vector_size_float32_2")
|
||||
self.return_and_test_struct_value("return_ext_vector_size_float32_4")
|
||||
self.return_and_test_struct_value("return_ext_vector_size_float32_8")
|
||||
if not self.affected_by_pr44132():
|
||||
self.return_and_test_struct_value("return_ext_vector_size_float32_8")
|
||||
|
||||
# limit the nested struct and class tests to only x86_64
|
||||
@skipIf(archs=no_match(['x86_64']))
|
||||
|
||||
@@ -9,6 +9,8 @@ class TestTargetSourceMap(TestBase):
|
||||
|
||||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
@skipIf(archs="aarch64", oslist="linux", debug_info="dwo",
|
||||
bugnumber="https://bugs.llvm.org/show_bug.cgi?id=44180")
|
||||
def test_source_map(self):
|
||||
# Set the target soure map to map "./" to the current test directory.
|
||||
yaml_path = os.path.join(self.getSourceDir(), "a.yaml")
|
||||
|
||||
@@ -50,6 +50,8 @@ class StepAvoidsNoDebugTestCase(TestBase):
|
||||
archs=["i386"],
|
||||
bugnumber="llvm.org/pr28549")
|
||||
@expectedFailureAll(oslist=["ios", "tvos", "bridgeos"], bugnumber="<rdar://problem/34026777>") # lldb doesn't step past last source line in function on arm64
|
||||
@expectedFailureAll(archs=["aarch64"], oslist=["linux"],
|
||||
bugnumber="llvm.org/pr44057")
|
||||
def test_step_in_with_python(self):
|
||||
"""Test stepping in using avoid-no-debug with dwarf."""
|
||||
self.build()
|
||||
|
||||
@@ -71,6 +71,8 @@ class TestArtificialFrameThreadStepOut1(TestBase):
|
||||
self.assertFalse(frame2.IsArtificial())
|
||||
|
||||
@expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr26265")
|
||||
@expectedFailureAll(archs=["aarch64"], oslist=["linux"],
|
||||
bugnumber="llvm.org/pr44160")
|
||||
def test_return_past_artificial_frame(self):
|
||||
self.build()
|
||||
thread = self.prepare_thread()
|
||||
|
||||
@@ -18,6 +18,8 @@ class TestTrivialABI(TestBase):
|
||||
|
||||
@skipUnlessSupportedTypeAttribute("trivial_abi")
|
||||
@expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr37995")
|
||||
@expectedFailureAll(archs=["aarch64"], oslist=["linux"],
|
||||
bugnumber="llvm.org/pr44161")
|
||||
def test_call_trivial(self):
|
||||
"""Test that we can print a variable & call a function with a trivial ABI class."""
|
||||
self.build()
|
||||
@@ -27,6 +29,8 @@ class TestTrivialABI(TestBase):
|
||||
@skipUnlessSupportedTypeAttribute("trivial_abi")
|
||||
# fixed for SysV-x86_64 ABI, but not Windows-x86_64
|
||||
@expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr36870")
|
||||
@expectedFailureAll(archs=["aarch64"], oslist=["linux"],
|
||||
bugnumber="llvm.org/pr44161")
|
||||
def test_call_nontrivial(self):
|
||||
"""Test that we can print a variable & call a function on the same class w/o the trivial ABI marker."""
|
||||
self.build()
|
||||
|
||||
@@ -24,7 +24,7 @@ class BuiltinTrapTestCase(TestBase):
|
||||
|
||||
# gcc generates incorrect linetable
|
||||
@expectedFailureAll(archs="arm", compiler="gcc", triple=".*-android")
|
||||
@expectedFailureAll(oslist=['linux'], archs=['arm'])
|
||||
@expectedFailureAll(oslist=['linux'], archs=['arm', 'aarch64'])
|
||||
@skipIfWindows
|
||||
def test_with_run_command(self):
|
||||
"""Test that LLDB handles a function with __builtin_trap correctly."""
|
||||
|
||||
Reference in New Issue
Block a user