Skip to content

Commit 3f00cff

Browse files
committed
[lldb][test] Disable TestLocationsAfterRebuild.py on Windows
We can't remove the program file while lldb has it open. Test added in #145994.
1 parent 7dde602 commit 3f00cff

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lldb/test/API/functionalities/breakpoint/breakpoint_locations/after_rebuild/TestLocationsAfterRebuild.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
import lldb
88
import lldbsuite.test.lldbutil as lldbutil
99
from lldbsuite.test.lldbtest import *
10+
from lldbsuite.test.decorators import skipIfWindows
1011
import os
1112

1213

@@ -16,6 +17,8 @@ class TestLocationsAfterRebuild(TestBase):
1617
# each debug info format.
1718
NO_DEBUG_INFO_TESTCASE = True
1819

20+
# On Windows we cannot remove a file that lldb is debugging.
21+
@skipIfWindows
1922
def test_remaining_location_spec(self):
2023
"""If we rebuild a couple of times some of the old locations
2124
get removed. Make sure the command-line breakpoint id

0 commit comments

Comments
 (0)