[lldb] [test] Update baseline test status for FreeBSD

Fixes #19721
Fixes #18440
Partially fixes bug #47660
Fixes #47761
Fixes #47763

Sponsored by: The FreeBSD Foundation
This commit is contained in:
Michał Górny 2022-06-17 11:16:30 +02:00
parent b55d55ecd9
commit 13dfe0f0fc
11 changed files with 26 additions and 19 deletions

View File

@ -74,7 +74,6 @@ class TestCase(PExpectTest):
@skipIfAsan @skipIfAsan
@skipIfEditlineSupportMissing @skipIfEditlineSupportMissing
@expectedFailureAll(oslist=['freebsd'], bugnumber='llvm.org/pr48316')
@skipIf(oslist=["linux"], archs=["arm", "aarch64"]) # Randomly fails on buildbot @skipIf(oslist=["linux"], archs=["arm", "aarch64"]) # Randomly fails on buildbot
def test_nav_arrow_up_empty(self): def test_nav_arrow_up_empty(self):
""" """

View File

@ -470,6 +470,8 @@ class targetCommandTestCase(TestBase):
substrs=["query requires one argument"]) substrs=["query requires one argument"])
@no_debug_info_test @no_debug_info_test
@expectedFailureAll(oslist=["freebsd"],
bugnumber="github.com/llvm/llvm-project/issues/56079")
def test_target_modules_type(self): def test_target_modules_type(self):
self.buildB() self.buildB()
self.runCmd("file " + self.getBuildArtifact("b.out"), self.runCmd("file " + self.getBuildArtifact("b.out"),

View File

@ -95,9 +95,6 @@ class TestThreadBacktracePage(TestBase):
# the comments whether it was getting two threads to the same breakpoint that was # the comments whether it was getting two threads to the same breakpoint that was
# problematic, or the step-out part. This test stops at the rendevous point so I'm # problematic, or the step-out part. This test stops at the rendevous point so I'm
# removing the skipIfLinux to see if we see any flakiness in just this part of the test. # removing the skipIfLinux to see if we see any flakiness in just this part of the test.
@expectedFailureAll(
oslist=["freebsd"],
bugnumber="llvm.org/pr18066 inferior does not exit")
@skipIfWindows # This test will hang on windows llvm.org/pr21753 @skipIfWindows # This test will hang on windows llvm.org/pr21753
@expectedFailureAll(oslist=["windows"]) @expectedFailureAll(oslist=["windows"])
@expectedFailureNetBSD @expectedFailureNetBSD
@ -157,7 +154,3 @@ class TestThreadBacktracePage(TestBase):
self.assertTrue(result.Succeeded(), "repeat command succeeded for two threads") self.assertTrue(result.Succeeded(), "repeat command succeeded for two threads")
result_str = result.GetOutput() result_str = result.GetOutput()
self.check_two_threads(result_str, thread_id_1, name_1, thread_id_2, name_2, 13, 22) self.check_two_threads(result_str, thread_id_1, name_1, thread_id_2, name_2, 13, 22)

View File

@ -13,6 +13,8 @@ class BreakpointSetRestart(TestBase):
BREAKPOINT_TEXT = 'Set a breakpoint here' BREAKPOINT_TEXT = 'Set a breakpoint here'
@skipIfNetBSD @skipIfNetBSD
@skipIf(oslist=["freebsd"],
bugnumber="github.com/llvm/llvm-project/issues/56082")
def test_breakpoint_set_restart(self): def test_breakpoint_set_restart(self):
self.build() self.build()

View File

@ -14,9 +14,6 @@ class ThreadStepOutTestCase(TestBase):
mydir = TestBase.compute_mydir(__file__) mydir = TestBase.compute_mydir(__file__)
@expectedFailureAll(
oslist=["freebsd"],
bugnumber="llvm.org/pr18066 inferior does not exit")
@skipIfWindows # This test will hang on windows llvm.org/pr21753 @skipIfWindows # This test will hang on windows llvm.org/pr21753
@expectedFailureAll(oslist=["windows"]) @expectedFailureAll(oslist=["windows"])
@expectedFailureNetBSD @expectedFailureNetBSD
@ -25,9 +22,6 @@ class ThreadStepOutTestCase(TestBase):
self.build() self.build()
self.step_out_test(self.step_out_single_thread_with_cmd) self.step_out_test(self.step_out_single_thread_with_cmd)
@expectedFailureAll(
oslist=["freebsd"],
bugnumber="llvm.org/pr19347 2nd thread stops at breakpoint")
@skipIfWindows # This test will hang on windows llvm.org/pr21753 @skipIfWindows # This test will hang on windows llvm.org/pr21753
@expectedFailureAll(oslist=["windows"]) @expectedFailureAll(oslist=["windows"])
@expectedFailureAll(oslist=["watchos"], archs=['armv7k'], bugnumber="rdar://problem/34674488") # stop reason is trace when it should be step-out @expectedFailureAll(oslist=["watchos"], archs=['armv7k'], bugnumber="rdar://problem/34674488") # stop reason is trace when it should be step-out
@ -37,9 +31,6 @@ class ThreadStepOutTestCase(TestBase):
self.build() self.build()
self.step_out_test(self.step_out_all_threads_with_cmd) self.step_out_test(self.step_out_all_threads_with_cmd)
@expectedFailureAll(
oslist=["freebsd"],
bugnumber="llvm.org/pr19347 2nd thread stops at breakpoint")
@skipIfWindows # This test will hang on windows llvm.org/pr21753 @skipIfWindows # This test will hang on windows llvm.org/pr21753
@expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr24681") @expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr24681")
@expectedFailureNetBSD @expectedFailureNetBSD

View File

@ -61,6 +61,8 @@ class TestCase(TestBase):
return return
self.expect_expr("func(1, 2, 3, 4)", result_type="int", result_value="10") self.expect_expr("func(1, 2, 3, 4)", result_type="int", result_value="10")
@expectedFailureAll(oslist=["freebsd"],
bugnumber="github.com/llvm/llvm-project/issues/56084")
def test_vectorcall(self): def test_vectorcall(self):
if not self.build_and_run("vectorcall.c"): if not self.build_and_run("vectorcall.c"):
return return

View File

@ -199,7 +199,6 @@ class EventAPITestCase(TestBase):
oslist=["linux"], oslist=["linux"],
bugnumber="llvm.org/pr23617 Flaky, fails ~1/10 cases") bugnumber="llvm.org/pr23617 Flaky, fails ~1/10 cases")
@skipIfWindows # This is flakey on Windows AND when it fails, it hangs: llvm.org/pr38373 @skipIfWindows # This is flakey on Windows AND when it fails, it hangs: llvm.org/pr38373
@expectedFailureAll(oslist=["freebsd"], bugnumber="llvm.org/pr48417")
@expectedFailureNetBSD @expectedFailureNetBSD
def test_add_listener_to_broadcaster(self): def test_add_listener_to_broadcaster(self):
"""Exercise some SBBroadcaster APIs.""" """Exercise some SBBroadcaster APIs."""

View File

@ -525,7 +525,6 @@ class LldbGdbServerTestCase(gdbremote_testcase.GdbRemoteTestCaseBase, DwarfOpcod
@expectedFailureDarwin @expectedFailureDarwin
@skipIfWindows # no SIGSEGV support @skipIfWindows # no SIGSEGV support
@expectedFailureAll(oslist=["freebsd"], bugnumber="llvm.org/pr48419")
@expectedFailureNetBSD @expectedFailureNetBSD
def test_Hc_then_Csignal_signals_correct_thread_launch(self): def test_Hc_then_Csignal_signals_correct_thread_launch(self):
self.build() self.build()

View File

@ -58,6 +58,8 @@ class TestGdbRemote_vContThreads(gdbremote_testcase.GdbRemoteTestCaseBase):
@skipIfWindows @skipIfWindows
@expectedFailureNetBSD @expectedFailureNetBSD
@expectedFailureDarwin # No signals delivered @expectedFailureDarwin # No signals delivered
@expectedFailureAll(oslist=["freebsd"],
bugnumber="github.com/llvm/llvm-project/issues/56086")
@skipIfAsan # Times out under asan @skipIfAsan # Times out under asan
@skipIf(oslist=["linux"], archs=["arm", "aarch64"]) # Randomly fails on buildbot @skipIf(oslist=["linux"], archs=["arm", "aarch64"]) # Randomly fails on buildbot
def test_signal_process_without_tid(self): def test_signal_process_without_tid(self):
@ -85,6 +87,8 @@ class TestGdbRemote_vContThreads(gdbremote_testcase.GdbRemoteTestCaseBase):
@skipIfWindows @skipIfWindows
@expectedFailureNetBSD @expectedFailureNetBSD
@expectedFailureAll(oslist=["freebsd"],
bugnumber="github.com/llvm/llvm-project/issues/56086")
@expectedFailureDarwin # Only one signal delivered @expectedFailureDarwin # Only one signal delivered
@skipIfAsan # Times out under asan @skipIfAsan # Times out under asan
@skipIf(oslist=["linux"], archs=["arm", "aarch64"]) # Randomly fails on buildbot @skipIf(oslist=["linux"], archs=["arm", "aarch64"]) # Randomly fails on buildbot
@ -102,6 +106,8 @@ class TestGdbRemote_vContThreads(gdbremote_testcase.GdbRemoteTestCaseBase):
@skipIfWindows @skipIfWindows
@expectedFailureNetBSD @expectedFailureNetBSD
@expectedFailureAll(oslist=["freebsd"],
bugnumber="github.com/llvm/llvm-project/issues/56086")
@add_test_categories(["llgs"]) @add_test_categories(["llgs"])
@skipIfAsan # Times out under asan @skipIfAsan # Times out under asan
@skipIf(oslist=["linux"], archs=["arm", "aarch64"]) # Randomly fails on buildbot @skipIf(oslist=["linux"], archs=["arm", "aarch64"]) # Randomly fails on buildbot
@ -118,6 +124,8 @@ class TestGdbRemote_vContThreads(gdbremote_testcase.GdbRemoteTestCaseBase):
@skipIfWindows @skipIfWindows
@expectedFailureNetBSD @expectedFailureNetBSD
@expectedFailureAll(oslist=["freebsd"],
bugnumber="github.com/llvm/llvm-project/issues/56086")
@add_test_categories(["llgs"]) @add_test_categories(["llgs"])
@skipIfAsan # Times out under asan @skipIfAsan # Times out under asan
@skipIf(oslist=["linux"], archs=["arm", "aarch64"]) # Randomly fails on buildbot @skipIf(oslist=["linux"], archs=["arm", "aarch64"]) # Randomly fails on buildbot
@ -133,6 +141,8 @@ class TestGdbRemote_vContThreads(gdbremote_testcase.GdbRemoteTestCaseBase):
@skipIfWindows @skipIfWindows
@expectedFailureNetBSD @expectedFailureNetBSD
@expectedFailureAll(oslist=["freebsd"],
bugnumber="github.com/llvm/llvm-project/issues/56086")
@add_test_categories(["llgs"]) @add_test_categories(["llgs"])
@skipIf(oslist=["linux"], archs=["arm", "aarch64"]) # Randomly fails on buildbot @skipIf(oslist=["linux"], archs=["arm", "aarch64"]) # Randomly fails on buildbot
def test_signal_minus_one(self): def test_signal_minus_one(self):
@ -146,6 +156,8 @@ class TestGdbRemote_vContThreads(gdbremote_testcase.GdbRemoteTestCaseBase):
@skipIfWindows @skipIfWindows
@expectedFailureNetBSD @expectedFailureNetBSD
@expectedFailureAll(oslist=["freebsd"],
bugnumber="github.com/llvm/llvm-project/issues/56086")
@add_test_categories(["llgs"]) @add_test_categories(["llgs"])
@skipIfAsan # Times out under asan @skipIfAsan # Times out under asan
@skipIf(oslist=["linux"], archs=["arm", "aarch64"]) # Randomly fails on buildbot @skipIf(oslist=["linux"], archs=["arm", "aarch64"]) # Randomly fails on buildbot
@ -164,6 +176,8 @@ class TestGdbRemote_vContThreads(gdbremote_testcase.GdbRemoteTestCaseBase):
@skipIfWindows @skipIfWindows
@expectedFailureNetBSD @expectedFailureNetBSD
@expectedFailureAll(oslist=["freebsd"],
bugnumber="github.com/llvm/llvm-project/issues/56086")
@add_test_categories(["llgs"]) @add_test_categories(["llgs"])
@skipIfAsan # Times out under asan @skipIfAsan # Times out under asan
@skipIf(oslist=["linux"], archs=["arm", "aarch64"]) # Randomly fails on buildbot @skipIf(oslist=["linux"], archs=["arm", "aarch64"]) # Randomly fails on buildbot
@ -180,6 +194,8 @@ class TestGdbRemote_vContThreads(gdbremote_testcase.GdbRemoteTestCaseBase):
@skipIfWindows @skipIfWindows
@expectedFailureNetBSD @expectedFailureNetBSD
@expectedFailureAll(oslist=["freebsd"],
bugnumber="github.com/llvm/llvm-project/issues/56086")
@add_test_categories(["llgs"]) @add_test_categories(["llgs"])
@skipIfAsan # Times out under asan @skipIfAsan # Times out under asan
@skipIf(oslist=["linux"], archs=["arm", "aarch64"]) # Randomly fails on buildbot @skipIf(oslist=["linux"], archs=["arm", "aarch64"]) # Randomly fails on buildbot

View File

@ -1,4 +1,6 @@
# REQUIRES: target-x86_64 # REQUIRES: target-x86_64
# https://github.com/llvm/llvm-project/issues/56085
# XFAIL: system-freebsd
# XFAIL: system-windows # XFAIL: system-windows
# JITLink is the Orc-specific JIT linker implementation. # JITLink is the Orc-specific JIT linker implementation.

View File

@ -1,4 +1,6 @@
# REQUIRES: target-x86_64 # REQUIRES: target-x86_64
# https://github.com/llvm/llvm-project/issues/56085
# XFAIL: system-freebsd
# XFAIL: system-windows # XFAIL: system-windows
# RuntimeDyld can be used to link and load emitted code for both, MCJIT and Orc. # RuntimeDyld can be used to link and load emitted code for both, MCJIT and Orc.