diff --git a/lldb/test/API/functionalities/thread/create_after_attach/TestCreateAfterAttach.py b/lldb/test/API/functionalities/thread/create_after_attach/TestCreateAfterAttach.py --- a/lldb/test/API/functionalities/thread/create_after_attach/TestCreateAfterAttach.py +++ b/lldb/test/API/functionalities/thread/create_after_attach/TestCreateAfterAttach.py @@ -25,7 +25,6 @@ # Occasionally hangs on Windows, may be same as other issues. @skipIfWindows @skipIfiOSSimulator - @expectedFailureAll(oslist=["freebsd"], bugnumber="llvm.org/pr48376") @expectedFailureNetBSD def test_create_after_attach(self): """Test thread creation after process attach.""" @@ -33,7 +32,8 @@ exe = self.getBuildArtifact("a.out") # Spawn a new process - popen = self.spawnSubprocess(exe) + # use realpath to workaround llvm.org/pr48376 + popen = self.spawnSubprocess(os.path.realpath(exe)) pid = popen.pid # Attach to the spawned process diff --git a/lldb/test/API/tools/lldb-vscode/breakpoint/TestVSCode_setBreakpoints.py b/lldb/test/API/tools/lldb-vscode/breakpoint/TestVSCode_setBreakpoints.py --- a/lldb/test/API/tools/lldb-vscode/breakpoint/TestVSCode_setBreakpoints.py +++ b/lldb/test/API/tools/lldb-vscode/breakpoint/TestVSCode_setBreakpoints.py @@ -21,11 +21,10 @@ lldbvscode_testcase.VSCodeTestCaseBase.setUp(self) self.main_basename = 'main-copy.cpp' - self.main_path = self.getBuildArtifact(self.main_basename) + self.main_path = os.path.realpath(self.getBuildArtifact(self.main_basename)) @skipIfWindows @skipIfRemote - @expectedFailureAll(oslist=["freebsd"], bugnumber="llvm.org/pr48421") def test_source_map(self): self.build_and_create_debug_adaptor() @@ -90,7 +89,6 @@ @skipIfWindows @skipIfRemote - @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 +221,6 @@ @skipIfWindows @skipIfRemote - @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 +263,6 @@ @skipIfWindows @skipIfRemote - @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.'''