Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions Sources/SKTestSupport/SkipUnless.swift
Original file line number Diff line number Diff line change
Expand Up @@ -436,10 +436,11 @@ public actor SkipUnless {
let project = try await SwiftPMTestProject(
files: [
"MyMacros/MyMacros.swift": #"""
import SwiftCompilerPlugin
import SwiftSyntax
import SwiftSyntaxBuilder
import SwiftSyntaxMacros
import SwiftParser

func test() {
_ = Parser.parse(source: "let a")
}
"""#,
"MyMacroClient/MyMacroClient.swift": """
""",
Expand All @@ -453,6 +454,9 @@ public actor SkipUnless {
skipMessage: """
Skipping because macro could not be built using build artifacts in the sourcekit-lsp build directory. \
This usually happens if sourcekit-lsp was built using a different toolchain than the one used at test-time.

Reason:
\(error)
"""
)
}
Expand Down