Skip to content

Commit d6a72ef

Browse files
authored
Merge pull request #1387 from ahoppen/test-pass-with-xcode-15-4
Skip testImportPreparedModuleWithFunctionBodiesSkipped if toolchain doesn’t support rename
2 parents be10867 + 20840c4 commit d6a72ef

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Tests/SourceKitLSPTests/BackgroundIndexingTests.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -889,6 +889,7 @@ final class BackgroundIndexingTests: XCTestCase {
889889
}
890890

891891
func testImportPreparedModuleWithFunctionBodiesSkipped() async throws {
892+
try await SkipUnless.sourcekitdSupportsRename()
892893
// This test case was crashing the indexing compiler invocation for Client if Lib was built for index preparation
893894
// (using `-enable-library-evolution -experimental-skip-all-function-bodies -experimental-lazy-typecheck`) but x
894895
// Client was not indexed with `-experimental-allow-module-with-compiler-errors`. rdar://129071600

0 commit comments

Comments
 (0)