diff --git a/lldb/test/API/api/multiple-targets/TestMultipleTargets.py b/lldb/test/API/api/multiple-targets/TestMultipleTargets.py index eebaea3c4fd25..7931cc4be050c 100644 --- a/lldb/test/API/api/multiple-targets/TestMultipleTargets.py +++ b/lldb/test/API/api/multiple-targets/TestMultipleTargets.py @@ -21,6 +21,7 @@ class TestMultipleTargets(TestBase): @expectedFailureAll( oslist=["windows"], bugnumber="llvm.org/pr20282") + @expectedFlakeyNetBSD def test_multiple_targets(self): env = {self.dylibPath: self.getLLDBLibraryEnvVal()} diff --git a/lldb/test/API/commands/expression/call-restarts/TestCallThatRestarts.py b/lldb/test/API/commands/expression/call-restarts/TestCallThatRestarts.py index 87e7386c3dcb5..6647176e7a187 100644 --- a/lldb/test/API/commands/expression/call-restarts/TestCallThatRestarts.py +++ b/lldb/test/API/commands/expression/call-restarts/TestCallThatRestarts.py @@ -25,7 +25,7 @@ def setUp(self): @skipIfDarwin # llvm.org/pr19246: intermittent failure @skipIfWindows # Test relies on signals, unsupported on Windows @expectedFlakeyAndroid(bugnumber="llvm.org/pr19246") - @expectedFailureNetBSD + @expectedFlakeyNetBSD def test(self): """Test calling function that hits a signal and restarts.""" self.build() diff --git a/lldb/test/API/commands/expression/ir-interpreter/TestIRInterpreter.py b/lldb/test/API/commands/expression/ir-interpreter/TestIRInterpreter.py index 5efbba90ccbab..16c88c53ef1ac 100644 --- a/lldb/test/API/commands/expression/ir-interpreter/TestIRInterpreter.py +++ b/lldb/test/API/commands/expression/ir-interpreter/TestIRInterpreter.py @@ -44,7 +44,6 @@ def build_and_run(self): @expectedFailureAll( oslist=['windows'], bugnumber="http://llvm.org/pr21765") - @expectedFailureNetBSD def test_ir_interpreter(self): self.build_and_run() diff --git a/lldb/test/API/commands/expression/radar_9531204/TestPrintfAfterUp.py b/lldb/test/API/commands/expression/radar_9531204/TestPrintfAfterUp.py index 56e7186ace3a2..857110cad7eea 100644 --- a/lldb/test/API/commands/expression/radar_9531204/TestPrintfAfterUp.py +++ b/lldb/test/API/commands/expression/radar_9531204/TestPrintfAfterUp.py @@ -15,7 +15,6 @@ class Radar9531204TestCase(TestBase): mydir = TestBase.compute_mydir(__file__) # rdar://problem/9531204 - @expectedFailureNetBSD def test_expr_commands(self): """The evaluating printf(...) after break stop and then up a stack frame.""" self.build() diff --git a/lldb/test/API/commands/expression/save_jit_objects/TestSaveJITObjects.py b/lldb/test/API/commands/expression/save_jit_objects/TestSaveJITObjects.py index 222cfab27085c..b7124e1587d23 100644 --- a/lldb/test/API/commands/expression/save_jit_objects/TestSaveJITObjects.py +++ b/lldb/test/API/commands/expression/save_jit_objects/TestSaveJITObjects.py @@ -24,7 +24,6 @@ def cleanJITFiles(self): return @expectedFailureAll(oslist=["windows"]) - @expectedFailureNetBSD def test_save_jit_objects(self): self.build() os.chdir(self.getBuildDir()) diff --git a/lldb/test/API/commands/expression/test/TestExprs.py b/lldb/test/API/commands/expression/test/TestExprs.py index b56ebd896eebd..e9f6ec1d3659b 100644 --- a/lldb/test/API/commands/expression/test/TestExprs.py +++ b/lldb/test/API/commands/expression/test/TestExprs.py @@ -177,7 +177,6 @@ def test_evaluate_expression_python(self): # rdar://problem/8686536 # CommandInterpreter::HandleCommand is stripping \'s from input for # WantsRawCommand commands - @expectedFailureNetBSD def test_expr_commands_can_handle_quotes(self): """Throw some expression commands with quotes at lldb.""" self.build() diff --git a/lldb/test/API/commands/gui/viewlarge/TestGuiViewLarge.py b/lldb/test/API/commands/gui/viewlarge/TestGuiViewLarge.py index 19f8334e5d750..d3f75757c743e 100644 --- a/lldb/test/API/commands/gui/viewlarge/TestGuiViewLarge.py +++ b/lldb/test/API/commands/gui/viewlarge/TestGuiViewLarge.py @@ -16,6 +16,7 @@ class GuiViewLargeCommandTest(PExpectTest): @skipIfAsan @skipIfCursesSupportMissing @skipIfRemote # "run" command will not work correctly for remote debug + @expectedFailureNetBSD def test_gui(self): self.build() diff --git a/lldb/test/API/commands/process/attach/TestProcessAttach.py b/lldb/test/API/commands/process/attach/TestProcessAttach.py index 88429333edd33..a3a97cfcef74b 100644 --- a/lldb/test/API/commands/process/attach/TestProcessAttach.py +++ b/lldb/test/API/commands/process/attach/TestProcessAttach.py @@ -84,6 +84,7 @@ def test_attach_to_process_by_name(self): process = target.GetProcess() self.assertTrue(process, PROCESS_IS_VALID) + @expectedFailureNetBSD def test_attach_to_process_by_id_correct_executable_offset(self): """ Test that after attaching to a process the executable offset diff --git a/lldb/test/API/functionalities/breakpoint/cpp_exception/TestCPPExceptionBreakpoint.py b/lldb/test/API/functionalities/breakpoint/cpp_exception/TestCPPExceptionBreakpoint.py index 117045eaf3d14..a6953019847a6 100644 --- a/lldb/test/API/functionalities/breakpoint/cpp_exception/TestCPPExceptionBreakpoint.py +++ b/lldb/test/API/functionalities/breakpoint/cpp_exception/TestCPPExceptionBreakpoint.py @@ -17,7 +17,6 @@ class TestCPPExceptionBreakpoint (TestBase): @add_test_categories(['pyapi']) @expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr24538") - @expectedFailureNetBSD def test_cpp_exception_breakpoint(self): """Test setting and hitting the C++ exception breakpoint.""" self.build() @@ -25,7 +24,6 @@ def test_cpp_exception_breakpoint(self): @add_test_categories(['pyapi']) @expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr24538") - @expectedFailureNetBSD def test_dummy_target_cpp_exception_breakpoint(self): """Test setting and hitting the C++ exception breakpoint from dummy target.""" self.build() diff --git a/lldb/test/API/functionalities/breakpoint/global_constructor/TestBreakpointInGlobalConstructor.py b/lldb/test/API/functionalities/breakpoint/global_constructor/TestBreakpointInGlobalConstructor.py index 4439607d91cfc..d5b8d34b64146 100644 --- a/lldb/test/API/functionalities/breakpoint/global_constructor/TestBreakpointInGlobalConstructor.py +++ b/lldb/test/API/functionalities/breakpoint/global_constructor/TestBreakpointInGlobalConstructor.py @@ -15,7 +15,6 @@ class TestBreakpointInGlobalConstructors(TestBase): mydir = TestBase.compute_mydir(__file__) NO_DEBUG_INFO_TESTCASE = True - @expectedFailureNetBSD def test(self): self.build() self.line_foo = line_number('foo.cpp', '// !BR_foo') diff --git a/lldb/test/API/functionalities/completion/TestCompletion.py b/lldb/test/API/functionalities/completion/TestCompletion.py index 4061e0963d48d..7e4612ec41e6e 100644 --- a/lldb/test/API/functionalities/completion/TestCompletion.py +++ b/lldb/test/API/functionalities/completion/TestCompletion.py @@ -291,6 +291,7 @@ def test_help_watchpoint_s(self): """Test that 'help watchpoint s' completes to 'help watchpoint set '.""" self.complete_from_to('help watchpoint s', 'help watchpoint set ') + @expectedFailureNetBSD def test_common_complete_watchpoint_ids(self): subcommands = ['enable', 'disable', 'delete', 'modify', 'ignore'] diff --git a/lldb/test/API/functionalities/dlopen_other_executable/TestDlopenOtherExecutable.py b/lldb/test/API/functionalities/dlopen_other_executable/TestDlopenOtherExecutable.py index a00186d2215eb..cc0754fb92b7b 100644 --- a/lldb/test/API/functionalities/dlopen_other_executable/TestDlopenOtherExecutable.py +++ b/lldb/test/API/functionalities/dlopen_other_executable/TestDlopenOtherExecutable.py @@ -14,6 +14,7 @@ class TestCase(TestBase): @skipIfLinux # freebsd's dlopen ditto @expectedFailureAll(oslist=["freebsd"]) + @expectedFailureNetBSD @no_debug_info_test def test(self): self.build() diff --git a/lldb/test/API/functionalities/inferior-assert/TestInferiorAssert.py b/lldb/test/API/functionalities/inferior-assert/TestInferiorAssert.py index edbfe70f3794e..c533a1e29a12d 100644 --- a/lldb/test/API/functionalities/inferior-assert/TestInferiorAssert.py +++ b/lldb/test/API/functionalities/inferior-assert/TestInferiorAssert.py @@ -22,7 +22,6 @@ class AssertingInferiorTestCase(TestBase): archs=["arm"], bugnumber="llvm.org/pr25338") @expectedFailureAll(bugnumber="llvm.org/pr26592", triple='^mips') - @expectedFailureNetBSD def test_inferior_asserting(self): """Test that lldb reliably catches the inferior asserting (command).""" self.build() @@ -52,7 +51,6 @@ def test_inferior_asserting_register(self): triple=no_match(".*-android"), bugnumber="llvm.org/pr25338") @expectedFailureAll(bugnumber="llvm.org/pr26592", triple='^mips') - @expectedFailureNetBSD def test_inferior_asserting_disassemble(self): """Test that lldb reliably disassembles frames after asserting (command).""" self.build() @@ -76,7 +74,6 @@ def test_inferior_asserting_python(self): triple=no_match(".*-android"), bugnumber="llvm.org/pr25338") @expectedFailureAll(bugnumber="llvm.org/pr26592", triple='^mips') - @expectedFailureNetBSD def test_inferior_asserting_expr(self): """Test that the lldb expression interpreter can read from the inferior after asserting (command).""" self.build() @@ -91,7 +88,6 @@ def test_inferior_asserting_expr(self): triple=no_match(".*-android"), bugnumber="llvm.org/pr25338") @expectedFailureAll(bugnumber="llvm.org/pr26592", triple='^mips') - @expectedFailureNetBSD def test_inferior_asserting_step(self): """Test that lldb functions correctly after stepping through a call to assert().""" self.build() diff --git a/lldb/test/API/functionalities/inferior-crashing/recursive-inferior/TestRecursiveInferiorStep.py b/lldb/test/API/functionalities/inferior-crashing/recursive-inferior/TestRecursiveInferiorStep.py index 90f14897fc45b..c8295dfbb0f75 100644 --- a/lldb/test/API/functionalities/inferior-crashing/recursive-inferior/TestRecursiveInferiorStep.py +++ b/lldb/test/API/functionalities/inferior-crashing/recursive-inferior/TestRecursiveInferiorStep.py @@ -20,6 +20,7 @@ def test_recursive_inferior_crashing_step(self): @skipIfTargetAndroid() # debuggerd interferes with this test on Android @expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr24778") + @expectedFailureNetBSD def test_recursive_inferior_crashing_step_after_break(self): """Test that lldb functions correctly after stepping through a crash.""" self.build() diff --git a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentBreakpointDelayBreakpointOneSignal.py b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentBreakpointDelayBreakpointOneSignal.py index 096c74a6a3c2d..4a7a5b91f9f63 100644 --- a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentBreakpointDelayBreakpointOneSignal.py +++ b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentBreakpointDelayBreakpointOneSignal.py @@ -13,7 +13,6 @@ class ConcurrentBreakpointDelayBreakpointOneSignal(ConcurrentEventsBase): # Atomic sequences are not supported yet for MIPS in LLDB. @skipIf(triple='^mips') - @expectedFailureNetBSD def test(self): """Test two threads that trigger a breakpoint (one with a 1 second delay) and one signal thread. """ self.build(dictionary=self.getBuildFlags()) diff --git a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentSignalDelayBreak.py b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentSignalDelayBreak.py index 0296f6099fa6f..eddb9d52b7436 100644 --- a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentSignalDelayBreak.py +++ b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentSignalDelayBreak.py @@ -13,7 +13,7 @@ class ConcurrentSignalDelayBreak(ConcurrentEventsBase): # Atomic sequences are not supported yet for MIPS in LLDB. @skipIf(triple='^mips') - @expectedFailureNetBSD + @expectedFlakeyNetBSD def test(self): """Test signal and a (1 second delay) breakpoint in multiple threads.""" self.build(dictionary=self.getBuildFlags()) diff --git a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentTwoBreakpointsOneDelaySignal.py b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentTwoBreakpointsOneDelaySignal.py index 8c9b7606625f3..78c5964b4a89d 100644 --- a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentTwoBreakpointsOneDelaySignal.py +++ b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentTwoBreakpointsOneDelaySignal.py @@ -13,7 +13,7 @@ class ConcurrentTwoBreakpointsOneDelaySignal(ConcurrentEventsBase): # Atomic sequences are not supported yet for MIPS in LLDB. @skipIf(triple='^mips') - @expectedFailureNetBSD + @expectedFlakeyNetBSD def test(self): """Test two threads that trigger a breakpoint and one (1 second delay) signal thread. """ self.build(dictionary=self.getBuildFlags()) diff --git a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentTwoBreakpointsOneSignal.py b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentTwoBreakpointsOneSignal.py index 75d058f118bf9..b7f1733467d4d 100644 --- a/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentTwoBreakpointsOneSignal.py +++ b/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentTwoBreakpointsOneSignal.py @@ -13,7 +13,7 @@ class ConcurrentTwoBreakpointsOneSignal(ConcurrentEventsBase): # Atomic sequences are not supported yet for MIPS in LLDB. @skipIf(triple='^mips') - @expectedFailureNetBSD + @expectedFlakeyNetBSD def test(self): """Test two threads that trigger a breakpoint and one signal thread. """ self.build(dictionary=self.getBuildFlags()) diff --git a/lldb/test/API/functionalities/thread/exit_during_expression/TestExitDuringExpression.py b/lldb/test/API/functionalities/thread/exit_during_expression/TestExitDuringExpression.py index 46ee9efc5f781..4c365b99a2448 100644 --- a/lldb/test/API/functionalities/thread/exit_during_expression/TestExitDuringExpression.py +++ b/lldb/test/API/functionalities/thread/exit_during_expression/TestExitDuringExpression.py @@ -16,12 +16,14 @@ class TestExitDuringExpression(TestBase): @skipIfWindows @expectedFailureAll(oslist=["freebsd"], bugnumber="llvm.org/pr48414") + @expectedFailureNetBSD 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"], bugnumber="llvm.org/pr48414") + @expectedFailureNetBSD 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) diff --git a/lldb/test/API/functionalities/thread/state_after_expression/TestStateAfterExpression.py b/lldb/test/API/functionalities/thread/state_after_expression/TestStateAfterExpression.py index 00713afb9c020..b998917f3baa0 100644 --- a/lldb/test/API/functionalities/thread/state_after_expression/TestStateAfterExpression.py +++ b/lldb/test/API/functionalities/thread/state_after_expression/TestStateAfterExpression.py @@ -16,6 +16,7 @@ class TestStopReasonAfterExpression(TestBase): @skipIfWindows @expectedFailureAll(oslist=["freebsd"], bugnumber="llvm.org/pr48415") + @expectedFlakeyNetBSD def test_thread_state_after_expr(self): self.build() self.main_source_file = lldb.SBFileSpec("main.cpp") diff --git a/lldb/test/API/functionalities/thread/thread_specific_break_plus_condition/TestThreadSpecificBpPlusCondition.py b/lldb/test/API/functionalities/thread/thread_specific_break_plus_condition/TestThreadSpecificBpPlusCondition.py index ee7398ae5dfcc..c5da305911d46 100644 --- a/lldb/test/API/functionalities/thread/thread_specific_break_plus_condition/TestThreadSpecificBpPlusCondition.py +++ b/lldb/test/API/functionalities/thread/thread_specific_break_plus_condition/TestThreadSpecificBpPlusCondition.py @@ -20,7 +20,7 @@ class ThreadSpecificBreakPlusConditionTestCase(TestBase): # hits break in another thread in testrun @add_test_categories(['pyapi']) @expectedFailureAll(oslist=['ios', 'watchos', 'tvos', 'bridgeos'], archs=['armv7', 'armv7k'], bugnumber='rdar://problem/34563348') # Two threads seem to end up with the same my_value when built for armv7. - @expectedFailureNetBSD + @expectedFlakeyNetBSD def test_python(self): """Test that we obey thread conditioned breakpoints.""" self.build() diff --git a/lldb/test/API/functionalities/unwind/noreturn/TestNoreturnUnwind.py b/lldb/test/API/functionalities/unwind/noreturn/TestNoreturnUnwind.py index 1086a34d3dd36..1cc45ebcf08cf 100644 --- a/lldb/test/API/functionalities/unwind/noreturn/TestNoreturnUnwind.py +++ b/lldb/test/API/functionalities/unwind/noreturn/TestNoreturnUnwind.py @@ -18,7 +18,6 @@ class NoreturnUnwind(TestBase): # clang does not preserve LR in noreturn functions, making unwinding impossible @skipIf(compiler="clang", archs=['arm'], oslist=['linux']) @expectedFailureAll(bugnumber="llvm.org/pr33452", triple='^mips') - @expectedFailureNetBSD def test(self): """Test that we can backtrace correctly with 'noreturn' functions on the stack""" self.build() diff --git a/lldb/test/API/lang/c/conflicting-symbol/TestConflictingSymbol.py b/lldb/test/API/lang/c/conflicting-symbol/TestConflictingSymbol.py index ff0c712ea0c18..926e9f625f5bb 100644 --- a/lldb/test/API/lang/c/conflicting-symbol/TestConflictingSymbol.py +++ b/lldb/test/API/lang/c/conflicting-symbol/TestConflictingSymbol.py @@ -20,7 +20,6 @@ def setUp(self): @expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr24489") @expectedFailureAll(oslist=["freebsd"], bugnumber="llvm.org/pr48416") - @expectedFailureNetBSD def test_conflicting_symbols(self): self.build() exe = self.getBuildArtifact("a.out") diff --git a/lldb/test/API/lang/c/const_variables/TestConstVariables.py b/lldb/test/API/lang/c/const_variables/TestConstVariables.py index 2cc94369f38dc..726a8c2c16e19 100644 --- a/lldb/test/API/lang/c/const_variables/TestConstVariables.py +++ b/lldb/test/API/lang/c/const_variables/TestConstVariables.py @@ -17,7 +17,6 @@ class ConstVariableTestCase(TestBase): @expectedFailureAll( oslist=["windows"], bugnumber="llvm.org/pr24489: Name lookup not working correctly on Windows") - @expectedFailureNetBSD def test_and_run_command(self): """Test interpreted and JITted expressions on constant values.""" self.build() diff --git a/lldb/test/API/lang/c/function_types/TestFunctionTypes.py b/lldb/test/API/lang/c/function_types/TestFunctionTypes.py index a8e4c3dcb4ef6..3db1af385bf78 100644 --- a/lldb/test/API/lang/c/function_types/TestFunctionTypes.py +++ b/lldb/test/API/lang/c/function_types/TestFunctionTypes.py @@ -47,7 +47,6 @@ def test(self): ]) @expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr21765") - @expectedFailureNetBSD def test_pointers(self): """Test that a function pointer to 'printf' works and can be called.""" self.build() diff --git a/lldb/test/API/lang/c/global_variables/TestGlobalVariables.py b/lldb/test/API/lang/c/global_variables/TestGlobalVariables.py index c9160fd385497..8e0591a9602d7 100644 --- a/lldb/test/API/lang/c/global_variables/TestGlobalVariables.py +++ b/lldb/test/API/lang/c/global_variables/TestGlobalVariables.py @@ -37,7 +37,6 @@ def test_without_process(self): substrs=['42']) @expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr24764") - @expectedFailureNetBSD def test_c_global_variables(self): """Test 'frame variable --scope --no-args' which omits args and shows scopes.""" self.build() diff --git a/lldb/test/API/lang/c/shared_lib/TestSharedLib.py b/lldb/test/API/lang/c/shared_lib/TestSharedLib.py index 208e892c7bdca..562cd32c7eb9a 100644 --- a/lldb/test/API/lang/c/shared_lib/TestSharedLib.py +++ b/lldb/test/API/lang/c/shared_lib/TestSharedLib.py @@ -34,12 +34,10 @@ def common_test_expr(self, preload_symbols): "expression GetMeASubFoo(my_foo_ptr)", startstr="(sub_foo *) $") - @expectedFailureNetBSD def test_expr(self): """Test that types work when defined in a shared library and forward-declared in the main executable""" self.common_test_expr(True) - @expectedFailureNetBSD def test_expr_no_preload(self): """Test that types work when defined in a shared library and forward-declared in the main executable, but with preloading disabled""" self.common_test_expr(False) diff --git a/lldb/test/API/lang/cpp/exceptions/TestCPPExceptionBreakpoints.py b/lldb/test/API/lang/cpp/exceptions/TestCPPExceptionBreakpoints.py index e4ab96f8ae31b..2cc2103714ec4 100644 --- a/lldb/test/API/lang/cpp/exceptions/TestCPPExceptionBreakpoints.py +++ b/lldb/test/API/lang/cpp/exceptions/TestCPPExceptionBreakpoints.py @@ -24,7 +24,6 @@ def setUp(self): @expectedFailureAll( oslist=["windows"], bugnumber="llvm.org/pr24538, clang-cl does not support throw or catch") - @expectedFailureNetBSD def test(self): """Test lldb exception breakpoint command for CPP.""" self.build() diff --git a/lldb/test/API/lang/cpp/namespace_definitions/TestNamespaceDefinitions.py b/lldb/test/API/lang/cpp/namespace_definitions/TestNamespaceDefinitions.py index e96a9fb93b757..5dce40843cf5b 100644 --- a/lldb/test/API/lang/cpp/namespace_definitions/TestNamespaceDefinitions.py +++ b/lldb/test/API/lang/cpp/namespace_definitions/TestNamespaceDefinitions.py @@ -23,7 +23,6 @@ class NamespaceDefinitionsTestCase(TestBase): bugnumber="llvm.org/pr28948", oslist=['linux'], compiler="gcc", archs=['arm','aarch64']) @expectedFailureAll(oslist=["windows"]) - @expectedFailureNetBSD def test_expr(self): self.build() self.common_setup() diff --git a/lldb/test/API/lang/cpp/stl/TestStdCXXDisassembly.py b/lldb/test/API/lang/cpp/stl/TestStdCXXDisassembly.py index 62714fc3bdf73..9e5e651b05d26 100644 --- a/lldb/test/API/lang/cpp/stl/TestStdCXXDisassembly.py +++ b/lldb/test/API/lang/cpp/stl/TestStdCXXDisassembly.py @@ -17,7 +17,6 @@ class StdCXXDisassembleTestCase(TestBase): mydir = TestBase.compute_mydir(__file__) @skipIfWindows - @expectedFailureNetBSD def test_stdcxx_disasm(self): """Do 'disassemble' on each and every 'Code' symbol entry from the std c++ lib.""" self.build() diff --git a/lldb/test/API/lang/cpp/this/TestCPPThis.py b/lldb/test/API/lang/cpp/this/TestCPPThis.py index ab95627729d89..43b00f97d8fef 100644 --- a/lldb/test/API/lang/cpp/this/TestCPPThis.py +++ b/lldb/test/API/lang/cpp/this/TestCPPThis.py @@ -21,7 +21,6 @@ class CPPThisTestCase(TestBase): @expectedFailureAll( oslist=["windows"], bugnumber="llvm.org/pr24489: Name lookup not working correctly on Windows") - @expectedFailureNetBSD def test_with_run_command(self): """Test that the appropriate member variables are available when stopped in C++ static, inline, and const methods""" self.build() diff --git a/lldb/test/API/python_api/event/TestEvents.py b/lldb/test/API/python_api/event/TestEvents.py index 5b9e39fa4b49d..238e9eb302d08 100644 --- a/lldb/test/API/python_api/event/TestEvents.py +++ b/lldb/test/API/python_api/event/TestEvents.py @@ -203,7 +203,7 @@ def run(self): 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"], bugnumber="llvm.org/pr48417") - @expectedFlakeyNetBSD + @expectedFailureNetBSD def test_add_listener_to_broadcaster(self): """Exercise some SBBroadcaster APIs.""" self.build() diff --git a/lldb/test/API/python_api/lldbutil/iter/TestRegistersIterator.py b/lldb/test/API/python_api/lldbutil/iter/TestRegistersIterator.py index fbb8bff412879..399c983aef785 100644 --- a/lldb/test/API/python_api/lldbutil/iter/TestRegistersIterator.py +++ b/lldb/test/API/python_api/lldbutil/iter/TestRegistersIterator.py @@ -23,6 +23,7 @@ def setUp(self): 'main.cpp', '// Set break point at this line.') @add_test_categories(['pyapi']) + @expectedFailureNetBSD def test_iter_registers(self): """Test iterator works correctly for lldbutil.iter_registers().""" self.build() diff --git a/lldb/test/API/python_api/thread/TestThreadAPI.py b/lldb/test/API/python_api/thread/TestThreadAPI.py index 595ab778da207..c97be6cf45291 100644 --- a/lldb/test/API/python_api/thread/TestThreadAPI.py +++ b/lldb/test/API/python_api/thread/TestThreadAPI.py @@ -41,7 +41,6 @@ def test_run_to_address(self): @add_test_categories(['pyapi']) @expectedFailureAll(oslist=["linux"], archs=['arm'], bugnumber="llvm.org/pr45892") @expectedFailureAll(oslist=["windows"]) - @expectedFailureNetBSD def test_step_out_of_malloc_into_function_b(self): """Test Python SBThread.StepOut() API to step out of a malloc call where the call site is at function b().""" # We build a different executable than the default build() does. diff --git a/lldb/test/API/tools/lldb-server/TestGdbRemote_vContThreads.py b/lldb/test/API/tools/lldb-server/TestGdbRemote_vContThreads.py index e9ad057e369b5..1fe781039b3f3 100644 --- a/lldb/test/API/tools/lldb-server/TestGdbRemote_vContThreads.py +++ b/lldb/test/API/tools/lldb-server/TestGdbRemote_vContThreads.py @@ -52,6 +52,7 @@ def test_signal_one_thread_debugserver(self): self.signal_one_thread() @skipUnlessPlatform(["netbsd"]) + @expectedFailureNetBSD @llgs_test def test_signal_one_thread_llgs(self): self.build() @@ -79,6 +80,7 @@ def test_signal_all_threads_debugserver(self): self.signal_all_threads() @skipUnlessPlatform(["netbsd"]) + @expectedFailureNetBSD @llgs_test def test_signal_all_threads_llgs(self): self.build() diff --git a/lldb/test/API/tools/lldb-vscode/breakpoint/TestVSCode_setExceptionBreakpoints.py b/lldb/test/API/tools/lldb-vscode/breakpoint/TestVSCode_setExceptionBreakpoints.py index d5ec9d39d5879..ff64e448278ad 100644 --- a/lldb/test/API/tools/lldb-vscode/breakpoint/TestVSCode_setExceptionBreakpoints.py +++ b/lldb/test/API/tools/lldb-vscode/breakpoint/TestVSCode_setExceptionBreakpoints.py @@ -17,7 +17,6 @@ class TestVSCode_setExceptionBreakpoints( mydir = TestBase.compute_mydir(__file__) @skipIfWindows - @expectedFailureNetBSD @skipIfRemote def test_functionality(self): '''Tests setting and clearing exception breakpoints. diff --git a/lldb/test/API/tools/lldb-vscode/disconnect/TestVSCode_disconnect.py b/lldb/test/API/tools/lldb-vscode/disconnect/TestVSCode_disconnect.py index cc001e89196b9..2de3ed9e1e982 100644 --- a/lldb/test/API/tools/lldb-vscode/disconnect/TestVSCode_disconnect.py +++ b/lldb/test/API/tools/lldb-vscode/disconnect/TestVSCode_disconnect.py @@ -51,6 +51,7 @@ def test_launch(self): @skipIfDarwin @skipIfWindows @skipIfRemote + @expectedFailureNetBSD def test_attach(self): """ This test attaches to a process that creates a file. We attach and disconnect diff --git a/lldb/test/Shell/Recognizer/assert.test b/lldb/test/Shell/Recognizer/assert.test index 5241fd104f038..359598cc8ba63 100644 --- a/lldb/test/Shell/Recognizer/assert.test +++ b/lldb/test/Shell/Recognizer/assert.test @@ -1,5 +1,6 @@ # XFAIL: target-arm && linux-gnu # XFAIL: system-freebsd +# XFAIL: system-netbsd # UNSUPPORTED: system-windows # RUN: %clang_host -g -O0 %S/Inputs/assert.c -o %t.out # RUN: %lldb -b -s %s %t.out | FileCheck %s diff --git a/lldb/test/Shell/Reproducer/Functionalities/TestExpressionEvaluation.test b/lldb/test/Shell/Reproducer/Functionalities/TestExpressionEvaluation.test index f400cef07a24a..e20be15386a72 100644 --- a/lldb/test/Shell/Reproducer/Functionalities/TestExpressionEvaluation.test +++ b/lldb/test/Shell/Reproducer/Functionalities/TestExpressionEvaluation.test @@ -1,5 +1,5 @@ # UNSUPPORTED: system-freebsd -# XFAIL: system-netbsd +# UNSUPPORTED: system-netbsd # Flaky # UNSUPPORTED: system-linux diff --git a/lldb/test/Shell/ScriptInterpreter/Lua/watchpoint_callback.test b/lldb/test/Shell/ScriptInterpreter/Lua/watchpoint_callback.test index c0bddbc1fdf5a..e5a432978cae7 100644 --- a/lldb/test/Shell/ScriptInterpreter/Lua/watchpoint_callback.test +++ b/lldb/test/Shell/ScriptInterpreter/Lua/watchpoint_callback.test @@ -1,4 +1,5 @@ # REQUIRES: lua +# XFAIL: system-netbsd # RUN: echo "int main() { return 0; }" | %clang_host -x c - -o %t # RUN: %lldb -s %s --script-language lua %t 2>&1 | FileCheck %s b main