Skip to content

Commit 4aea2b6

Browse files
committed
Re-enable functional tests temporarily
This is to be able to run the integration test for macros in CI.
1 parent feb0ba4 commit 4aea2b6

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

Package.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -586,7 +586,7 @@ let package = Package(
586586
dependencies: ["Workspace", "SPMTestSupport"]
587587
),
588588
// rdar://101868275 "error: cannot find 'XCTAssertEqual' in scope" can affect almost any functional test, so we flat out disable them all until we know what is going on
589-
/*.testTarget(
589+
.testTarget(
590590
name: "FunctionalTests",
591591
dependencies: [
592592
"swift-build",
@@ -595,7 +595,7 @@ let package = Package(
595595
"PackageModel",
596596
"SPMTestSupport"
597597
]
598-
),*/
598+
),
599599
.testTarget(
600600
name: "FunctionalPerformanceTests",
601601
dependencies: [

Tests/FunctionalTests/DependencyResolutionTests.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ class DependencyResolutionTests: XCTestCase {
7878
}
7979

8080
func testMirrors() throws {
81+
try XCTSkipIf(true, "test is broken")
82+
8183
try fixture(name: "DependencyResolution/External/Mirror") { fixturePath in
8284
let prefix = try resolveSymlinks(fixturePath)
8385
let appPath = prefix.appending(component: "App")

Tests/FunctionalTests/PluginTests.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -463,6 +463,7 @@ class PluginTests: XCTestCase {
463463
accessibleTools: [:],
464464
writableDirectories: [pluginDir.appending(component: "output")],
465465
readOnlyDirectories: [package.path],
466+
allowNetworkConnections: [],
466467
pkgConfigDirectories: [],
467468
fileSystem: localFileSystem,
468469
observabilityScope: observability.topScope,
@@ -729,6 +730,7 @@ class PluginTests: XCTestCase {
729730
accessibleTools: [:],
730731
writableDirectories: [pluginDir.appending(component: "output")],
731732
readOnlyDirectories: [package.path],
733+
allowNetworkConnections: [],
732734
pkgConfigDirectories: [],
733735
fileSystem: localFileSystem,
734736
observabilityScope: observability.topScope,

0 commit comments

Comments
 (0)