File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed
Sources/_InternalTestSupport Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change 10
10
//
11
11
//===----------------------------------------------------------------------===//
12
12
13
+ import class Foundation. ProcessInfo
13
14
import Basics
14
15
#if os(macOS)
15
16
import class Foundation. Bundle
@@ -322,3 +323,13 @@ public struct CommandExecutionError: Error {
322
323
public let stdout : String
323
324
public let stderr : String
324
325
}
326
+
327
+
328
+ public func XCTExhibitsGitHubIssue( _ number: Int ) throws {
329
+ let envVar = " SWIFTCI_EXHIBITS_GH_ \( number) "
330
+
331
+ try XCTSkipIf (
332
+ ProcessInfo . processInfo. environment [ envVar] != nil ,
333
+ " https://github.com/swiftlang/swift-package-manager/issues/ \( number) : \( envVar) environment variable is set "
334
+ )
335
+ }
Original file line number Diff line number Diff line change @@ -4091,4 +4091,9 @@ class PackageCommandSwiftBuildTests: PackageCommandTestCase {
4091
4091
try XCTSkipOnWindows ( because: " TSCBasic/Path.swift:969: Assertion failed, https://github.com/swiftlang/swift-package-manager/issues/8602 " )
4092
4092
try await super. testCommandPluginTargetBuilds ( )
4093
4093
}
4094
+
4095
+ override func testCommandPluginPermissions( ) async throws {
4096
+ try XCTExhibitsGitHubIssue ( 8782 )
4097
+ try await super. testCommandPluginPermissions ( )
4098
+ }
4094
4099
}
You can’t perform that action at this time.
0 commit comments