@skipIfNoSBHeaders
@skipIfWindows
+ @expectedFailureAll(oslist=['freebsd'])
def test_multiple_debuggers(self):
env = {self.dylibPath: self.getLLDBLibraryEnvVal()}
@skipIfNoSBHeaders
# clang-cl does not support throw or catch (llvm.org/pr24538)
@skipIfWindows
+ @expectedFailureAll(oslist=['freebsd'])
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',
# under ASAN on a loaded machine..
@skipIfAsan
@skipIfEditlineSupportMissing
+ @expectedFailureAll(oslist=['freebsd'])
def test_nav_arrow_up(self):
"""Tests that we can navigate back to the previous line with the up arrow"""
self.launch()
@skipIfAsan
@skipIfEditlineSupportMissing
+ @expectedFailureAll(oslist=['freebsd'])
def test_nav_arrow_down(self):
"""Tests that we can navigate to the next line with the down arrow"""
self.launch()
# Enable all log options and check that nothing crashes.
@skipIfWindows
+ # TODO: figure out why it segfaults
+ @skipIfFreeBSD
def test_all_log_options(self):
if (os.path.exists(self.log_file)):
os.remove(self.log_file)
@skipIfWindows # https://bugs.llvm.org/show_bug.cgi?id=43702
@skipIfRemote # rdar://problem/66542336
+ @expectedFailureAll(oslist=['freebsd'])
def test_process_list_with_args(self):
"""Test process list show process args"""
self.build()
# The process launch flag '-w' for setting the current working directory
# not working?
@not_remote_testsuite_ready
- @expectedFailureAll(oslist=["linux"], bugnumber="llvm.org/pr20265")
+ @expectedFailureAll(oslist=["freebsd", "linux"], bugnumber="llvm.org/pr20265")
@expectedFailureNetBSD
@skipIfReproducer
def test_set_working_dir_nonexisting(self):
"image list", msg, matching=should_match, substrs=['[ 1]'])
- @expectedFailureAll(oslist=["linux"],
+ @expectedFailureAll(oslist=["freebsd", "linux"],
triple=no_match(".*-android"))
#linux does not support loading dependent files, but android does
@expectedFailureNetBSD
self.runCmd("target create " + exe, CURRENT_EXECUTABLE_SET)
self.has_exactly_one_image(False)
- @expectedFailureAll(oslist=["linux"],
+ @expectedFailureAll(oslist=["freebsd", "linux"],
triple=no_match(".*-android"))
#linux does not support loading dependent files, but android does
@expectedFailureNetBSD
self.runCmd("target create -dtrue " + exe, CURRENT_EXECUTABLE_SET)
self.has_exactly_one_image(True)
- @expectedFailureAll(oslist=["linux"],
+ @expectedFailureAll(oslist=["freebsd", "linux"],
triple=no_match(".*-android"))
#linux does not support loading dependent files, but android does
@expectedFailureNetBSD
self.runCmd("target create -dtrue " + lib, CURRENT_EXECUTABLE_SET)
self.has_exactly_one_image(True)
- @expectedFailureAll(oslist=["linux"],
+ @expectedFailureAll(oslist=["freebsd", "linux"],
triple=no_match(".*-android"))
#linux does not support loading dependent files, but android does
@expectedFailureNetBSD
# under ASAN on a loaded machine..
@skipIfAsan
@skipIfEditlineSupportMissing
+ # times out
+ @skipIfFreeBSD
def test_breakpoint_callback_command_source(self):
self.build()
exe = self.getBuildArtifact("a.out")
mydir = TestBase.compute_mydir(__file__)
NO_DEBUG_INFO_TESTCASE = True
+ @expectedFailureAll(oslist=["freebsd"])
@expectedFailureNetBSD
def test(self):
self.build()
# glibc's dlopen doesn't support opening executables.
# https://sourceware.org/bugzilla/show_bug.cgi?id=11754
@skipIfLinux
+ @expectedFailureAll(oslist=["freebsd"])
@no_debug_info_test
def test(self):
self.build()
'main.cpp',
'// Run here before printing memory regions')
+ @expectedFailureAll(oslist=["freebsd"])
def test(self):
self.build()
NO_DEBUG_INFO_TESTCASE = True
@skipIfWindows
+ @expectedFailureAll(oslist=["freebsd"])
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"])
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)
mydir = TestBase.compute_mydir(__file__)
@skipIfWindows
+ @expectedFailureAll(oslist=["freebsd"])
def test_thread_state_after_expr(self):
self.build()
self.main_source_file = lldb.SBFileSpec("main.cpp")
lldbutil.mkdir_p(self.getBuildArtifact("One"))
lldbutil.mkdir_p(self.getBuildArtifact("Two"))
- @expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr24489")
+ @expectedFailureAll(oslist=["freebsd", "windows"], bugnumber="llvm.org/pr24489")
@expectedFailureNetBSD
def test_conflicting_symbols(self):
self.build()
mydir = TestBase.compute_mydir(__file__)
- @expectedFailureAll(oslist=["windows", "linux", "netbsd"])
+ @expectedFailureAll(oslist=["windows", "linux", "freebsd", "netbsd"])
def test_thread_local(self):
# Set a breakpoint on the first instruction of the main function,
# before the TLS initialization has run.
@skipIfWindows
@skipIfRemote
+ @expectedFailureAll(oslist=["freebsd"])
def test_source_map(self):
self.build_and_create_debug_adaptor()
@skipIfWindows
@skipIfRemote
+ @expectedFailureAll(oslist=["freebsd"])
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
@skipIfWindows
@skipIfRemote
+ @expectedFailureAll(oslist=["freebsd"])
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
@skipIfWindows
@skipIfRemote
+ @expectedFailureAll(oslist=["freebsd"])
def test_functionality(self):
'''Tests hitting breakpoints and the functionality of a single
breakpoint, like 'conditions' and 'hitCondition' settings.'''
@skipIfWindows
@skipIfLinux # shell argument expansion doesn't seem to work on Linux
@expectedFailureNetBSD
+ @expectedFailureAll(oslist=["freebsd"])
@skipIfRemote
def test_shellExpandArguments_enabled(self):
'''
# REQUIRES: target-x86_64
# UNSUPPORTED: system-windows
+# XFAIL: system-freebsd
# RUN: %clang_host %p/Inputs/call-asm.c -x assembler-with-cpp %p/Inputs/thread-step-out-ret-addr-check.s -o %t
# RUN: not %lldb %t -s %s -b 2>&1 | FileCheck %s