Skip to content

Commit 878b1e3

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

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
@@ -584,7 +584,7 @@ let package = Package(
584584
dependencies: ["Workspace", "SPMTestSupport"]
585585
),
586586
// 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
587-
/*.testTarget(
587+
.testTarget(
588588
name: "FunctionalTests",
589589
dependencies: [
590590
"swift-build",
@@ -593,7 +593,7 @@ let package = Package(
593593
"PackageModel",
594594
"SPMTestSupport"
595595
]
596-
),*/
596+
),
597597
.testTarget(
598598
name: "FunctionalPerformanceTests",
599599
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)