Skip to content

Commit 6981758

Browse files
authored
Tests: mark tests as intermittent failure (#8871)
Some of the CI builds are failing as the expected issue is not being recorded. Mark these as intermittent until we understand if the issue should no longer occur. rdar://154245653
1 parent d8bc782 commit 6981758

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Tests/CommandsTests/BuildCommandTests.swift

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -884,12 +884,16 @@ struct BuildCommandTestCases {
884884
}
885885

886886
@Test(
887+
.SWBINTTODO("Swift build produces an error building the fixture for this test."),
887888
arguments: SupportedBuildSystemOnPlatform,
888889
)
889890
func swiftDriverRawOutputGetsNewlines(
890891
buildSystem: BuildSystemProvider.Kind,
891892
) async throws {
892-
try await withKnownIssue("SWBINTTODO: Swift build produces an error building the fixture for this test.") {
893+
try await withKnownIssue(
894+
"error produced for this fixture",
895+
isIntermittent: ProcessInfo.hostOperatingSystem == .linux,
896+
) {
893897
try await fixture(name: "DependencyResolution/Internal/Simple") { fixturePath in
894898
// Building with `-wmo` should result in a `remark: Incremental compilation has been disabled: it is not
895899
// compatible with whole module optimization` message, which should have a trailing newline. Since that
@@ -1008,7 +1012,7 @@ struct BuildCommandTestCases {
10081012
func getTaskAllowEntitlement(
10091013
buildSystem: BuildSystemProvider.Kind,
10101014
) async throws {
1011-
try await withKnownIssue {
1015+
try await withKnownIssue(isIntermittent: (ProcessInfo.hostOperatingSystem == .linux)) {
10121016
try await fixture(name: "ValidLayouts/SingleModule/ExecutableNew") { fixturePath in
10131017
#if os(macOS)
10141018
// try await building with default parameters. This should succeed. We build verbosely so we get full command

0 commit comments

Comments
 (0)