Skip to content

Commit aad9468

Browse files
committed
Disable pure C package tests for staging.
Using Swift to link pure C targets relies on a new Swift driver flag introduced in swiftlang/swift#25330. Stage this in by disabling tests until that change propagates. rdar://problem/50057445
1 parent 6b9e4b3 commit aad9468

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Tests/FunctionalTests/CFamilyTargetTests.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ class CFamilyTargetTestCase: XCTestCase {
7575
}
7676

7777
func testObjectiveCPackageWithTestTarget(){
78+
#if DISABLED // rdar://problem/50057445
7879
#if os(macOS)
7980
fixture(name: "CFamilyTargets/ObjCmacOSPackage") { prefix in
8081
// Build the package.
@@ -84,5 +85,6 @@ class CFamilyTargetTestCase: XCTestCase {
8485
XCTAssertSwiftTest(prefix)
8586
}
8687
#endif
88+
#endif
8789
}
8890
}

Tests/FunctionalTests/MiscellaneousTests.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,7 @@ class MiscellaneousTestCase: XCTestCase {
272272
}
273273

274274
func testPkgConfigCFamilyTargets() throws {
275+
#if DISABLED // rdar://problem/50057445
275276
fixture(name: "Miscellaneous/PkgConfig") { prefix in
276277
let systemModule = prefix.appending(component: "SystemModule")
277278
// Create a shared library.
@@ -303,6 +304,7 @@ class MiscellaneousTestCase: XCTestCase {
303304

304305
XCTAssertFileExists(moduleUser.appending(components: ".build", Destination.host.target.tripleString, "debug", "SystemModuleUserClang"))
305306
}
307+
#endif
306308
}
307309

308310
func testCanKillSubprocessOnSigInt() throws {

0 commit comments

Comments
 (0)