[lldb][test] Disable TestLocationsAfterRebuild.py on Windows
We can't remove the program file while lldb has it open. Test added in https://github.com/llvm/llvm-project/pull/145994.
This commit is contained in:
@@ -7,6 +7,7 @@ we still handle the remaining locations correctly.
|
||||
import lldb
|
||||
import lldbsuite.test.lldbutil as lldbutil
|
||||
from lldbsuite.test.lldbtest import *
|
||||
from lldbsuite.test.decorators import skipIfWindows
|
||||
import os
|
||||
|
||||
|
||||
@@ -16,6 +17,8 @@ class TestLocationsAfterRebuild(TestBase):
|
||||
# each debug info format.
|
||||
NO_DEBUG_INFO_TESTCASE = True
|
||||
|
||||
# On Windows we cannot remove a file that lldb is debugging.
|
||||
@skipIfWindows
|
||||
def test_remaining_location_spec(self):
|
||||
"""If we rebuild a couple of times some of the old locations
|
||||
get removed. Make sure the command-line breakpoint id
|
||||
|
||||
Reference in New Issue
Block a user