@@ -4136,6 +4136,7 @@ struct PackageCommandTests {
41364136 " https://github.com/swiftlang/swift-package-manager/issues/9006 " ,
41374137 relationship: . defect
41384138 ) ,
4139+ . IssueWindowsCannotSaveAttachment,
41394140 arguments: getBuildData ( for: SupportedBuildSystemOnAllPlatforms) ,
41404141 [
41414142 // When updating these, make sure we keep testing both the singular and
@@ -4160,7 +4161,7 @@ struct PackageCommandTests {
41604161 ) async throws {
41614162 let featureName = testData. featureName
41624163 let expectedSummary = testData. expectedSummary
4163-
4164+ try await withKnownIssue ( isIntermittent : true ) {
41644165 try await fixture ( name: " SwiftMigrate/ \( featureName) Migration " ) { fixturePath in
41654166 let sourcePaths : [ AbsolutePath ]
41664167 let fixedSourcePaths : [ AbsolutePath ]
@@ -4201,6 +4202,9 @@ struct PackageCommandTests {
42014202 let regexMatch = try Regex ( " > \( expectedSummary) " + #" \([0-9]\.[0-9]{1,3}s\)"# )
42024203 #expect( stdout. contains ( regexMatch) )
42034204 }
4205+ } when: {
4206+ ProcessInfo . hostOperatingSystem == . windows && buildData. buildSystem == . swiftbuild
4207+ }
42044208 }
42054209
42064210 @Test (
@@ -4214,6 +4218,7 @@ struct PackageCommandTests {
42144218 func migrateCommandWithBuildToolPlugins(
42154219 data: BuildData ,
42164220 ) async throws {
4221+ try await withKnownIssue ( isIntermittent: true ) {
42174222 try await fixture ( name: " SwiftMigrate/ExistentialAnyWithPluginMigration " ) { fixturePath in
42184223 let ( stdout, _) = try await execute (
42194224 [ " migrate " , " --to-feature " , " ExistentialAny " ] ,
@@ -4239,6 +4244,9 @@ struct PackageCommandTests {
42394244 )
42404245 #expect( stdout. contains ( regexMatch) )
42414246 }
4247+ } when: {
4248+ ProcessInfo . hostOperatingSystem == . windows
4249+ }
42424250 }
42434251
42444252 @Test (
@@ -4247,11 +4255,13 @@ struct PackageCommandTests {
42474255 " https://github.com/swiftlang/swift-package-manager/issues/9006 " ,
42484256 relationship: . defect
42494257 ) ,
4258+ . IssueWindowsCannotSaveAttachment,
42504259 arguments: getBuildData ( for: SupportedBuildSystemOnAllPlatforms) ,
42514260 )
42524261 func migrateCommandWhenDependencyBuildsForHostAndTarget(
42534262 data: BuildData ,
42544263 ) async throws {
4264+ try await withKnownIssue ( isIntermittent: true ) {
42554265 try await fixture ( name: " SwiftMigrate/ExistentialAnyWithCommonPluginDependencyMigration " ) {
42564266 fixturePath in
42574267 let ( stdout, _) = try await execute (
@@ -4268,6 +4278,9 @@ struct PackageCommandTests {
42684278 )
42694279 #expect( stdout. contains ( regexMatch) )
42704280 }
4281+ } when: {
4282+ ProcessInfo . hostOperatingSystem == . windows
4283+ }
42714284 }
42724285
42734286 @Test (
@@ -4528,7 +4541,7 @@ struct PackageCommandTests {
45284541 @Test (
45294542 . tags(
45304543 . Feature. Command. Build,
4531- . Feature. PackageType. BuildToolPlugin
4544+ . Feature. PackageType. BuildToolPlugin
45324545 ) ,
45334546 . requiresSwiftConcurrencySupport,
45344547 arguments: getBuildData ( for: SupportedBuildSystemOnAllPlatforms) ,
@@ -5270,7 +5283,7 @@ struct PackageCommandTests {
52705283 @Test (
52715284 . tags(
52725285 . Feature. Command. Build,
5273- . Feature. PackageType. CommandPlugin
5286+ . Feature. PackageType. CommandPlugin
52745287 ) ,
52755288 . requiresSwiftConcurrencySupport,
52765289 . issue(
0 commit comments