Skip to content

[TEST-ONLY] Partial revert #302 #303

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ import SWBTestSupport
import SWBUtil

@Suite(.skipHostOS(.windows, "Windows platform has no CAS support yet"),
.requireCompilationCaching, .requireDependencyScannerPlusCaching)
.requireCompilationCaching, .requireDependencyScannerPlusCaching,
.flaky("A handful of Swift Build CAS tests fail when running the entire test suite"), .bug("rdar://146781403"))
fileprivate struct ClangCompilationCachingTests: CoreBasedTests {
let canUseCASPlugin: Bool
let canUseCASPruning: Bool
Expand Down
3 changes: 2 additions & 1 deletion Tests/SWBBuildSystemTests/ClangModuleVerifierTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,8 @@ fileprivate struct ClangModuleVerifierTests: CoreBasedTests {
}
}

@Test(.requireSDKs(.macOS), .requireClangFeatures(.wSystemHeadersInModule), .requireDependencyScannerPlusCaching, .requireCompilationCaching)
@Test(.requireSDKs(.macOS), .requireClangFeatures(.wSystemHeadersInModule), .requireDependencyScannerPlusCaching, .requireCompilationCaching,
.flaky("A handful of Swift Build CAS tests fail when running the entire test suite"), .bug("rdar://146781403"))
func cachedBuild() async throws {
try await withTemporaryDirectory { (tmpDirPath: Path) in
let archs = ["arm64", "x86_64"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ import SWBUtil

import SWBTaskExecution

@Suite(.requireSwiftFeatures(.compilationCaching), .requireCompilationCaching)
@Suite(.requireSwiftFeatures(.compilationCaching), .requireCompilationCaching,
.flaky("A handful of Swift Build CAS tests fail when running the entire test suite"), .bug("rdar://146781403"))
fileprivate struct SwiftCompilationCachingTests: CoreBasedTests {
@Test(.requireSDKs(.iOS))
func swiftCachingSimple() async throws {
Expand Down