From 669ed7bf36f93e04ca39c229f19e9a69fdb8f703 Mon Sep 17 00:00:00 2001 From: Robert Connell Date: Thu, 11 Dec 2025 11:02:06 -0500 Subject: [PATCH] Removing setting of SWIFTPM_TESTS_MODULECACHE during tests as it is no longer required --- Sources/_InternalTestSupport/SwiftPMProduct.swift | 3 --- 1 file changed, 3 deletions(-) diff --git a/Sources/_InternalTestSupport/SwiftPMProduct.swift b/Sources/_InternalTestSupport/SwiftPMProduct.swift index 86422039ebc..1193c9b6627 100644 --- a/Sources/_InternalTestSupport/SwiftPMProduct.swift +++ b/Sources/_InternalTestSupport/SwiftPMProduct.swift @@ -132,9 +132,6 @@ extension SwiftPM { environment["XCTestBundlePath"] = nil environment["NSUnbufferedIO"] = nil #endif - // FIXME: We use this private environment variable hack to be able to - // create special conditions in swift-build for swiftpm tests. - environment["SWIFTPM_TESTS_MODULECACHE"] = self.xctestBinaryPath.parentDirectory.pathString // Unset the internal env variable that allows skipping certain tests. environment["_SWIFTPM_SKIP_TESTS_LIST"] = nil