Skip to content

Commit fc896ca

Browse files
marcrasirxwei
authored andcommitted
fix sourcekit vfs test on macos (#25243)
The MacOS build runs sourcekit tests in a way that the VFS tests don't work, so this disables the test when run that way.
1 parent 07ea212 commit fc896ca

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/SourceKit/CodeComplete/injected_vfs_swiftinterface.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,5 @@ func foo(
1111
// RUN: %empty-directory(%t)
1212
// RUN: %target-swift-frontend -emit-parseable-module-interface-path %t/SwiftModule.swiftinterface -module-name SwiftModule -emit-module -o /dev/null %S/../Inputs/vfs/SwiftModule/SwiftModule.swift
1313
// RUN: %sourcekitd-test -req=complete -pos=6:31 -vfs-files=/target_file1.swift=%s,/SwiftModule/SwiftModule.swiftinterface=%t/SwiftModule.swiftinterface /target_file1.swift -- /target_file1.swift -I /SwiftModule | %FileCheck %s
14+
15+
// REQUIRES: sourcekit_use_inproc_library

0 commit comments

Comments
 (0)