Skip to content

Commit 55e284e

Browse files
authored
Fix test failures (#8874)
There are two tests failing on the main branch at desk because a known issue doesn't occur. Revise the when criteria to capture only the places where the known issue occurs.
1 parent 6981758 commit 55e284e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/CommandsTests/BuildCommandTests.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -914,7 +914,7 @@ struct BuildCommandTestCases {
914914
}
915915
}
916916
} when: {
917-
ProcessInfo.hostOperatingSystem != .macOS && buildSystem == .swiftbuild
917+
ProcessInfo.hostOperatingSystem == .windows && buildSystem == .swiftbuild
918918
}
919919
}
920920

@@ -1098,7 +1098,7 @@ struct BuildCommandTestCases {
10981098
#expect(!buildResult.stdout.contains("codesign --force --sign - --entitlements"))
10991099
}
11001100
} when: {
1101-
[.swiftbuild, .xcode].contains(buildSystem)
1101+
[.swiftbuild, .xcode].contains(buildSystem) && ProcessInfo.hostOperatingSystem != .linux
11021102
}
11031103
}
11041104

0 commit comments

Comments
 (0)