[lldb] [test] Link FreeBSD test failures to bugs
Differential Revision: https://reviews.llvm.org/D92740
This commit is contained in:
parent
53401e8e88
commit
266c90fec8
|
|
@ -31,7 +31,7 @@ class SBBreakpointCallbackCase(TestBase):
|
|||
@skipIfNoSBHeaders
|
||||
# clang-cl does not support throw or catch (llvm.org/pr24538)
|
||||
@skipIfWindows
|
||||
@expectedFailureAll(oslist=['freebsd'])
|
||||
@expectedFailureAll(oslist=['freebsd'], bugnumber='llvm.org/pr48370')
|
||||
def test_python_stop_hook(self):
|
||||
"""Test that you can run a python command in a stop-hook when stdin is File based. """
|
||||
self.build_and_test('driver.cpp test_stop-hook.cpp',
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ class TestCase(PExpectTest):
|
|||
# under ASAN on a loaded machine..
|
||||
@skipIfAsan
|
||||
@skipIfEditlineSupportMissing
|
||||
@expectedFailureAll(oslist=['freebsd'])
|
||||
@expectedFailureAll(oslist=['freebsd'], bugnumber='llvm.org/pr48316')
|
||||
def test_nav_arrow_up(self):
|
||||
"""Tests that we can navigate back to the previous line with the up arrow"""
|
||||
self.launch()
|
||||
|
|
@ -41,7 +41,7 @@ class TestCase(PExpectTest):
|
|||
|
||||
@skipIfAsan
|
||||
@skipIfEditlineSupportMissing
|
||||
@expectedFailureAll(oslist=['freebsd'])
|
||||
@expectedFailureAll(oslist=['freebsd'], bugnumber='llvm.org/pr48316')
|
||||
def test_nav_arrow_down(self):
|
||||
"""Tests that we can navigate to the next line with the down arrow"""
|
||||
self.launch()
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ class LaunchWithShellExpandTestCase(TestBase):
|
|||
"windows",
|
||||
"linux",
|
||||
"freebsd"],
|
||||
bugnumber="llvm.org/pr24778 llvm.org/pr22627")
|
||||
bugnumber="llvm.org/pr24778 llvm.org/pr22627 llvm.org/pr48349")
|
||||
@skipIfDarwinEmbedded # iOS etc don't launch the binary via a shell, so arg expansion won't happen
|
||||
@expectedFailureNetBSD
|
||||
def test(self):
|
||||
|
|
|
|||
|
|
@ -28,7 +28,8 @@ class RegisterCommandsTestCase(TestBase):
|
|||
|
||||
@skipIfiOSSimulator
|
||||
@skipIf(archs=no_match(['amd64', 'arm', 'i386', 'x86_64']))
|
||||
@expectedFailureAll(oslist=["freebsd", "netbsd"])
|
||||
@expectedFailureAll(oslist=["freebsd", "netbsd"],
|
||||
bugnumber='llvm.org/pr48371')
|
||||
def test_register_commands(self):
|
||||
"""Test commands related to registers, in particular vector registers."""
|
||||
self.build()
|
||||
|
|
|
|||
|
|
@ -30,20 +30,18 @@ class TargetDependentsTestCase(TestBase):
|
|||
"image list", msg, matching=should_match, substrs=['[ 1]'])
|
||||
|
||||
|
||||
@expectedFailureAll(oslist=["freebsd", "linux"],
|
||||
triple=no_match(".*-android"))
|
||||
#linux does not support loading dependent files, but android does
|
||||
@expectedFailureNetBSD
|
||||
@expectedFailureAll(oslist=["freebsd", "linux", "netbsd"],
|
||||
bugnumber='llvm.org/pr48372',
|
||||
triple=no_match(".*-android"))
|
||||
def test_dependents_implicit_default_exe(self):
|
||||
"""Test default behavior"""
|
||||
exe = self.getBuildArtifact("a.out")
|
||||
self.runCmd("target create " + exe, CURRENT_EXECUTABLE_SET)
|
||||
self.has_exactly_one_image(False)
|
||||
|
||||
@expectedFailureAll(oslist=["freebsd", "linux"],
|
||||
triple=no_match(".*-android"))
|
||||
#linux does not support loading dependent files, but android does
|
||||
@expectedFailureNetBSD
|
||||
@expectedFailureAll(oslist=["freebsd", "linux", "netbsd"],
|
||||
bugnumber='llvm.org/pr48372',
|
||||
triple=no_match(".*-android"))
|
||||
def test_dependents_explicit_default_exe(self):
|
||||
"""Test default behavior"""
|
||||
exe = self.getBuildArtifact("a.out")
|
||||
|
|
@ -56,10 +54,9 @@ class TargetDependentsTestCase(TestBase):
|
|||
self.runCmd("target create -dtrue " + exe, CURRENT_EXECUTABLE_SET)
|
||||
self.has_exactly_one_image(True)
|
||||
|
||||
@expectedFailureAll(oslist=["freebsd", "linux"],
|
||||
triple=no_match(".*-android"))
|
||||
#linux does not support loading dependent files, but android does
|
||||
@expectedFailureNetBSD
|
||||
@expectedFailureAll(oslist=["freebsd", "linux", "netbsd"],
|
||||
bugnumber='llvm.org/pr48372',
|
||||
triple=no_match(".*-android"))
|
||||
def test_dependents_explicit_false_exe(self):
|
||||
"""Test default behavior"""
|
||||
exe = self.getBuildArtifact("a.out")
|
||||
|
|
@ -94,10 +91,9 @@ class TargetDependentsTestCase(TestBase):
|
|||
self.runCmd("target create -dtrue " + lib, CURRENT_EXECUTABLE_SET)
|
||||
self.has_exactly_one_image(True)
|
||||
|
||||
@expectedFailureAll(oslist=["freebsd", "linux"],
|
||||
triple=no_match(".*-android"))
|
||||
#linux does not support loading dependent files, but android does
|
||||
@expectedFailureNetBSD
|
||||
@expectedFailureAll(oslist=["freebsd", "linux", "netbsd"],
|
||||
bugnumber='llvm.org/pr48372',
|
||||
triple=no_match(".*-android"))
|
||||
def test_dependents_explicit_false_lib(self):
|
||||
ctx = self.platformContext
|
||||
dylibName = ctx.shlib_prefix + 'load_a.' + ctx.shlib_extension
|
||||
|
|
|
|||
|
|
@ -19,8 +19,7 @@ class BreakpointCallbackCommandSource(PExpectTest):
|
|||
# under ASAN on a loaded machine..
|
||||
@skipIfAsan
|
||||
@skipIfEditlineSupportMissing
|
||||
# times out
|
||||
@skipIfFreeBSD
|
||||
@skipIf(oslist=["freebsd"], bugnumber="llvm.org/pr48316")
|
||||
def test_breakpoint_callback_command_source(self):
|
||||
self.build()
|
||||
exe = self.getBuildArtifact("a.out")
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ class TestBreakpointInGlobalConstructors(TestBase):
|
|||
mydir = TestBase.compute_mydir(__file__)
|
||||
NO_DEBUG_INFO_TESTCASE = True
|
||||
|
||||
@expectedFailureAll(oslist=["freebsd"])
|
||||
@expectedFailureAll(oslist=["freebsd"], bugnumber='llvm.org/pr48373')
|
||||
@expectedFailureNetBSD
|
||||
def test(self):
|
||||
self.build()
|
||||
|
|
|
|||
|
|
@ -16,9 +16,10 @@ class TestDeletedExecutable(TestBase):
|
|||
NO_DEBUG_INFO_TESTCASE = True
|
||||
|
||||
@skipIfWindows # cannot delete a running executable
|
||||
@expectedFailureAll(oslist=["freebsd", "linux"],
|
||||
@expectedFailureAll(oslist=["linux"],
|
||||
triple=no_match('aarch64-.*-android'))
|
||||
# determining the architecture of the process fails
|
||||
@expectedFailureAll(oslist=["freebsd"], bugnumber="llvm.org/pr48374")
|
||||
@skipIfReproducer # File synchronization is not supported during replay.
|
||||
def test(self):
|
||||
self.build()
|
||||
|
|
|
|||
|
|
@ -12,6 +12,7 @@ class TestCase(TestBase):
|
|||
# glibc's dlopen doesn't support opening executables.
|
||||
# https://sourceware.org/bugzilla/show_bug.cgi?id=11754
|
||||
@skipIfLinux
|
||||
# freebsd's dlopen ditto
|
||||
@expectedFailureAll(oslist=["freebsd"])
|
||||
@no_debug_info_test
|
||||
def test(self):
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ class TestOSPluginStepping(TestBase):
|
|||
NO_DEBUG_INFO_TESTCASE = True
|
||||
|
||||
@skipIfWindows
|
||||
@skipIfFreeBSD # hangs
|
||||
@skipIf(oslist=["freebsd"], bugnumber="llvm.org/pr48352")
|
||||
def test_python_os_plugin(self):
|
||||
"""Test that stepping works when the OS Plugin doesn't report all
|
||||
threads at every stop"""
|
||||
|
|
@ -28,7 +28,7 @@ class TestOSPluginStepping(TestBase):
|
|||
self.run_python_os_step_missing_thread(False)
|
||||
|
||||
@skipIfWindows
|
||||
@skipIfFreeBSD # hangs
|
||||
@skipIf(oslist=["freebsd"], bugnumber="llvm.org/pr48352")
|
||||
def test_python_os_plugin_prune(self):
|
||||
"""Test that pruning the unreported PlanStacks works"""
|
||||
self.build()
|
||||
|
|
|
|||
|
|
@ -25,7 +25,8 @@ class ReturnValueTestCase(TestBase):
|
|||
def affected_by_radar_34562999(self):
|
||||
return (self.getArchitecture() == 'armv7' or self.getArchitecture() == 'armv7k') and self.platformIsDarwin()
|
||||
|
||||
@expectedFailureAll(oslist=["freebsd"], archs=["i386"])
|
||||
@expectedFailureAll(oslist=["freebsd"], archs=["i386"],
|
||||
bugnumber="llvm.org/pr48376")
|
||||
@expectedFailureAll(oslist=["macosx"], archs=["i386"], bugnumber="<rdar://problem/28719652>")
|
||||
@expectedFailureAll(
|
||||
oslist=["linux"],
|
||||
|
|
@ -154,7 +155,8 @@ class ReturnValueTestCase(TestBase):
|
|||
#self.return_and_test_struct_value ("return_one_int_one_double_packed")
|
||||
self.return_and_test_struct_value("return_one_int_one_long")
|
||||
|
||||
@expectedFailureAll(oslist=["freebsd"], archs=["i386"])
|
||||
@expectedFailureAll(oslist=["freebsd"], archs=["i386"],
|
||||
bugnumber="llvm.org/pr48376")
|
||||
@expectedFailureAll(oslist=["macosx"], archs=["i386"], bugnumber="<rdar://problem/28719652>")
|
||||
@expectedFailureAll(
|
||||
oslist=["linux"],
|
||||
|
|
|
|||
|
|
@ -25,10 +25,8 @@ class CreateAfterAttachTestCase(TestBase):
|
|||
# Occasionally hangs on Windows, may be same as other issues.
|
||||
@skipIfWindows
|
||||
@skipIfiOSSimulator
|
||||
# FreeBSD: Hangs. May be the same as Linux issue llvm.org/pr16229
|
||||
# but not yet investigated. Revisit once required functionality is
|
||||
# implemented for FreeBSD.
|
||||
@expectedFailureAll(oslist=["freebsd", "netbsd"])
|
||||
@expectedFailureAll(oslist=["freebsd"], bugnumber="llvm.org/pr48376")
|
||||
@expectedFailureNetBSD
|
||||
def test_create_after_attach(self):
|
||||
"""Test thread creation after process attach."""
|
||||
self.build(dictionary=self.getBuildFlags(use_cpp11=False))
|
||||
|
|
|
|||
|
|
@ -15,13 +15,13 @@ class TestExitDuringExpression(TestBase):
|
|||
NO_DEBUG_INFO_TESTCASE = True
|
||||
|
||||
@skipIfWindows
|
||||
@expectedFailureAll(oslist=["freebsd"])
|
||||
@expectedFailureAll(oslist=["freebsd"], bugnumber="llvm.org/pr48414")
|
||||
def test_exit_before_one_thread_unwind(self):
|
||||
"""Test the case where we exit within the one thread timeout"""
|
||||
self.exiting_expression_test(True, True)
|
||||
|
||||
@skipIfWindows
|
||||
@expectedFailureAll(oslist=["freebsd"])
|
||||
@expectedFailureAll(oslist=["freebsd"], bugnumber="llvm.org/pr48414")
|
||||
def test_exit_before_one_thread_no_unwind(self):
|
||||
"""Test the case where we exit within the one thread timeout"""
|
||||
self.exiting_expression_test(True, False)
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ class TestStopReasonAfterExpression(TestBase):
|
|||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
@skipIfWindows
|
||||
@expectedFailureAll(oslist=["freebsd"])
|
||||
@expectedFailureAll(oslist=["freebsd"], bugnumber="llvm.org/pr48415")
|
||||
def test_thread_state_after_expr(self):
|
||||
self.build()
|
||||
self.main_source_file = lldb.SBFileSpec("main.cpp")
|
||||
|
|
|
|||
|
|
@ -18,7 +18,8 @@ class TestConflictingSymbols(TestBase):
|
|||
lldbutil.mkdir_p(self.getBuildArtifact("One"))
|
||||
lldbutil.mkdir_p(self.getBuildArtifact("Two"))
|
||||
|
||||
@expectedFailureAll(oslist=["freebsd", "windows"], bugnumber="llvm.org/pr24489")
|
||||
@expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr24489")
|
||||
@expectedFailureAll(oslist=["freebsd"], bugnumber="llvm.org/pr48416")
|
||||
@expectedFailureNetBSD
|
||||
def test_conflicting_symbols(self):
|
||||
self.build()
|
||||
|
|
|
|||
|
|
@ -202,7 +202,7 @@ class EventAPITestCase(TestBase):
|
|||
oslist=["linux"],
|
||||
bugnumber="llvm.org/pr23617 Flaky, fails ~1/10 cases")
|
||||
@skipIfWindows # This is flakey on Windows AND when it fails, it hangs: llvm.org/pr38373
|
||||
@expectedFailureAll(oslist=["freebsd"])
|
||||
@expectedFailureAll(oslist=["freebsd"], bugnumber="llvm.org/pr48417")
|
||||
@expectedFlakeyNetBSD
|
||||
def test_add_listener_to_broadcaster(self):
|
||||
"""Exercise some SBBroadcaster APIs."""
|
||||
|
|
|
|||
|
|
@ -163,7 +163,8 @@ class TestGdbRemote_qThreadStopInfo(gdbremote_testcase.GdbRemoteTestCaseBase):
|
|||
self.qThreadStopInfo_only_reports_one_thread_stop_reason_during_interrupt(
|
||||
self.THREAD_COUNT)
|
||||
|
||||
@expectedFailureAll(oslist=["freebsd", "netbsd"])
|
||||
@expectedFailureAll(oslist=["freebsd"], bugnumber="llvm.org/pr48418")
|
||||
@expectedFailureNetBSD
|
||||
@llgs_test
|
||||
def test_qThreadStopInfo_only_reports_one_thread_stop_reason_during_interrupt_llgs(
|
||||
self):
|
||||
|
|
|
|||
|
|
@ -745,7 +745,8 @@ class LldbGdbServerTestCase(gdbremote_testcase.GdbRemoteTestCaseBase, DwarfOpcod
|
|||
self.Hc_then_Csignal_signals_correct_thread(self.TARGET_EXC_BAD_ACCESS)
|
||||
|
||||
@skipIfWindows # no SIGSEGV support
|
||||
@expectedFailureAll(oslist=["freebsd", "netbsd"])
|
||||
@expectedFailureAll(oslist=["freebsd"], bugnumber="llvm.org/pr48419")
|
||||
@expectedFailureNetBSD
|
||||
@llgs_test
|
||||
def test_Hc_then_Csignal_signals_correct_thread_launch_llgs(self):
|
||||
self.init_llgs_test()
|
||||
|
|
|
|||
|
|
@ -136,7 +136,8 @@ class TestGdbRemoteGPacket(gdbremote_testcase.GdbRemoteTestCaseBase):
|
|||
self.assertEqual(
|
||||
['0x727476787a7c7e71', '0x737577797b7d7f70'], get_reg_value('xmm15'))
|
||||
|
||||
@expectedFailureAll(oslist=["freebsd", "netbsd"])
|
||||
@expectedFailureAll(oslist=["freebsd"], bugnumber="llvm.org/pr48420")
|
||||
@expectedFailureNetBSD
|
||||
@llgs_test
|
||||
def test_g_returns_correct_data_with_suffix_llgs(self):
|
||||
self.init_llgs_test()
|
||||
|
|
@ -144,7 +145,8 @@ class TestGdbRemoteGPacket(gdbremote_testcase.GdbRemoteTestCaseBase):
|
|||
self.set_inferior_startup_launch()
|
||||
self.g_returns_correct_data(True)
|
||||
|
||||
@expectedFailureAll(oslist=["freebsd", "netbsd"])
|
||||
@expectedFailureAll(oslist=["freebsd"], bugnumber="llvm.org/pr48420")
|
||||
@expectedFailureNetBSD
|
||||
@llgs_test
|
||||
def test_g_returns_correct_data_no_suffix_llgs(self):
|
||||
self.init_llgs_test()
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ class TestVSCode_setBreakpoints(lldbvscode_testcase.VSCodeTestCaseBase):
|
|||
|
||||
@skipIfWindows
|
||||
@skipIfRemote
|
||||
@expectedFailureAll(oslist=["freebsd"])
|
||||
@expectedFailureAll(oslist=["freebsd"], bugnumber="llvm.org/pr48421")
|
||||
def test_source_map(self):
|
||||
self.build_and_create_debug_adaptor()
|
||||
|
||||
|
|
@ -90,7 +90,7 @@ class TestVSCode_setBreakpoints(lldbvscode_testcase.VSCodeTestCaseBase):
|
|||
|
||||
@skipIfWindows
|
||||
@skipIfRemote
|
||||
@expectedFailureAll(oslist=["freebsd"])
|
||||
@expectedFailureAll(oslist=["freebsd"], bugnumber="llvm.org/pr48421")
|
||||
def test_set_and_clear(self):
|
||||
'''Tests setting and clearing source file and line breakpoints.
|
||||
This packet is a bit tricky on the debug adaptor side since there
|
||||
|
|
@ -223,7 +223,7 @@ class TestVSCode_setBreakpoints(lldbvscode_testcase.VSCodeTestCaseBase):
|
|||
|
||||
@skipIfWindows
|
||||
@skipIfRemote
|
||||
@expectedFailureAll(oslist=["freebsd"])
|
||||
@expectedFailureAll(oslist=["freebsd"], bugnumber="llvm.org/pr48421")
|
||||
def test_clear_breakpoints_unset_breakpoints(self):
|
||||
'''Test clearing breakpoints like test_set_and_clear, but clear
|
||||
breakpoints by omitting the breakpoints array instead of sending an
|
||||
|
|
@ -266,7 +266,7 @@ class TestVSCode_setBreakpoints(lldbvscode_testcase.VSCodeTestCaseBase):
|
|||
|
||||
@skipIfWindows
|
||||
@skipIfRemote
|
||||
@expectedFailureAll(oslist=["freebsd"])
|
||||
@expectedFailureAll(oslist=["freebsd"], bugnumber="llvm.org/pr48421")
|
||||
def test_functionality(self):
|
||||
'''Tests hitting breakpoints and the functionality of a single
|
||||
breakpoint, like 'conditions' and 'hitCondition' settings.'''
|
||||
|
|
|
|||
|
|
@ -181,8 +181,8 @@ class TestVSCode_launch(lldbvscode_testcase.VSCodeTestCaseBase):
|
|||
|
||||
@skipIfWindows
|
||||
@skipIfLinux # shell argument expansion doesn't seem to work on Linux
|
||||
@expectedFailureNetBSD
|
||||
@expectedFailureAll(oslist=["freebsd"])
|
||||
@expectedFailureAll(oslist=["freebsd", "netbsd"],
|
||||
bugnumber="llvm.org/pr48349")
|
||||
@skipIfRemote
|
||||
def test_shellExpandArguments_enabled(self):
|
||||
'''
|
||||
|
|
|
|||
Loading…
Reference in New Issue