Skip to content

Commit 6da9e7d

Browse files
committed
Revert XCSkipTests nonisolated(nonsending)
1 parent ddc0f7e commit 6da9e7d

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// swift-tools-version: 6.1
1+
// swift-tools-version: 5.10
22
import PackageDescription
33

44
let package = Package(

Sources/SkipTest/XCGradleHarness.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ extension XCGradleHarness where Self : XCTestCase {
2626
/// - SeeAlso: https://docs.gradle.org/current/userguide/java_testing.html#test_filtering
2727
///
2828
/// When the `SKIP_TEST_FILTER` environment variable is set (e.g. by `skip test --filter`), it must be one pattern per line; each line is passed to Gradle as `--tests`.
29-
nonisolated(nonsending)
29+
// nonisolated(nonsending) // https://github.com/skiptools/skip/issues/675
3030
public func runGradleTests(device: String? = ProcessInfo.processInfo.environment["ANDROID_SERIAL"], file: StaticString = #file, line: UInt = #line) async throws {
3131
do {
3232
#if DEBUG
@@ -60,7 +60,7 @@ extension XCGradleHarness where Self : XCTestCase {
6060
/// - moduleSuffix: the expected module name for automatic test determination
6161
/// - sourcePath: the full path to the test case call site, which is used to determine the package root
6262
@available(macOS 13, macCatalyst 16, iOS 16, tvOS 16, watchOS 8, *)
63-
nonisolated(nonsending)
63+
// nonisolated(nonsending) // https://github.com/skiptools/skip/issues/675
6464
func invokeGradle(actions: [String], arguments: [String] = [], info: Bool = false, deviceID: String? = nil, testFilters: [String] = [], moduleName: String? = nil, maxMemory: UInt64? = ProcessInfo.processInfo.physicalMemory, fromSourceFileRelativeToPackageRoot sourcePath: StaticString? = #file) async throws {
6565
var actions = actions
6666
let isTestAction = actions.contains(where: { $0.hasPrefix("test") || $0.hasPrefix("connected") })

0 commit comments

Comments
 (0)