diff --git a/Tests/TSCBasicTests/ProcessTests.swift b/Tests/TSCBasicTests/ProcessTests.swift index cb5f98df..5c63ecf1 100644 --- a/Tests/TSCBasicTests/ProcessTests.swift +++ b/Tests/TSCBasicTests/ProcessTests.swift @@ -466,12 +466,7 @@ class ProcessTests: XCTestCase { fileprivate extension Process { private static func env() -> [String:String] { - var env = ProcessEnv.vars - #if os(macOS) - // Many of these tests use Python which might not be in the default `PATH` when running these tests from Xcode. - env["PATH"] = "\(env["PATH"] ?? ""):/usr/local/bin" - #endif - return env + return ProcessEnv.vars } private static func script(_ name: String) -> String { diff --git a/Tests/TSCBasicTests/processInputs/deadlock-if-blocking-io b/Tests/TSCBasicTests/processInputs/deadlock-if-blocking-io index 88ad54d0..9bc79efe 100755 --- a/Tests/TSCBasicTests/processInputs/deadlock-if-blocking-io +++ b/Tests/TSCBasicTests/processInputs/deadlock-if-blocking-io @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import sys diff --git a/Tests/TSCBasicTests/processInputs/in-to-out b/Tests/TSCBasicTests/processInputs/in-to-out index 3b86f0d9..94490b16 100755 --- a/Tests/TSCBasicTests/processInputs/in-to-out +++ b/Tests/TSCBasicTests/processInputs/in-to-out @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import sys diff --git a/Tests/TSCBasicTests/processInputs/long-stdout-stderr b/Tests/TSCBasicTests/processInputs/long-stdout-stderr index d630a026..684fcca5 100755 --- a/Tests/TSCBasicTests/processInputs/long-stdout-stderr +++ b/Tests/TSCBasicTests/processInputs/long-stdout-stderr @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import sys diff --git a/Tests/TSCBasicTests/processInputs/simple-stdout-stderr b/Tests/TSCBasicTests/processInputs/simple-stdout-stderr index c4f58949..a840caee 100755 --- a/Tests/TSCBasicTests/processInputs/simple-stdout-stderr +++ b/Tests/TSCBasicTests/processInputs/simple-stdout-stderr @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import sys diff --git a/Utilities/ci.xcworkspace/xcshareddata/swiftpm/Package.resolved b/Utilities/ci.xcworkspace/xcshareddata/swiftpm/Package.resolved new file mode 100644 index 00000000..6c5bf7fb --- /dev/null +++ b/Utilities/ci.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -0,0 +1,7 @@ +{ + "object": { + "pins": [ + ] + }, + "version": 1 +}