Skip to content

Commit 8beff16

Browse files
committed
Re-enable functional tests temporarily
This is to be able to run the integration test for macros in CI.
1 parent 5d04723 commit 8beff16

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

Package.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,7 @@ let package = Package(
583583
dependencies: ["Workspace", "SPMTestSupport"]
584584
),
585585
// 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
586-
/*.testTarget(
586+
.testTarget(
587587
name: "FunctionalTests",
588588
dependencies: [
589589
"swift-build",
@@ -592,7 +592,7 @@ let package = Package(
592592
"PackageModel",
593593
"SPMTestSupport"
594594
]
595-
),*/
595+
),
596596
.testTarget(
597597
name: "FunctionalPerformanceTests",
598598
dependencies: [

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)