Skip to content

Commit cad8e61

Browse files
authored
Disable testPackageNameFlag (#7075)
We're seeing errors like ``` error: Failed to clone repository /private/var/folders/7n/r31lzfjx6556jgc6vg55_cg80000gn/T/Miscellaneous_PackageNameFlag.qKbjHI/barPkg: fatal: destination path '/private/var/folders/7n/r31lzfjx6556jgc6vg55_cg80000gn/T/Miscellaneous_PackageNameFlag.qKbjHI/appPkg/.build/repositories/barPkg-5f2fb998' already exists and is not an empty directory. ``` on CI that are currently unexplained.
1 parent 5b445bc commit cad8e61

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Tests/BuildTests/BuildPlanTests.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -527,9 +527,10 @@ final class BuildPlanTests: XCTestCase {
527527
}
528528

529529
func testPackageNameFlag() throws {
530+
try XCTSkipIfCI() // test is disabled because it isn't stable, see rdar://118239206
530531
let isFlagSupportedInDriver = try DriverSupport.checkToolchainDriverFlags(flags: ["package-name"], toolchain: UserToolchain.default, fileSystem: localFileSystem)
531532
try fixture(name: "Miscellaneous/PackageNameFlag") { fixturePath in
532-
let (stdout, _) = try executeSwiftBuild(fixturePath.appending("appPkg"), extraArgs: ["-v"])
533+
let (stdout, _) = try executeSwiftBuild(fixturePath.appending("appPkg"), extraArgs: ["-vv"])
533534
XCTAssertMatch(stdout, .contains("-module-name Foo"))
534535
XCTAssertMatch(stdout, .contains("-module-name Zoo"))
535536
XCTAssertMatch(stdout, .contains("-module-name Bar"))

0 commit comments

Comments
 (0)