From f62723e77c046395a10773acd941acfa01de3e72 Mon Sep 17 00:00:00 2001 From: Dave Inglis Date: Fri, 14 Feb 2025 14:40:01 -0500 Subject: [PATCH] update --- Tests/SWBBuildSystemTests/CustomTaskBuildOperationTests.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/SWBBuildSystemTests/CustomTaskBuildOperationTests.swift b/Tests/SWBBuildSystemTests/CustomTaskBuildOperationTests.swift index c7ecf93..546f7f3 100644 --- a/Tests/SWBBuildSystemTests/CustomTaskBuildOperationTests.swift +++ b/Tests/SWBBuildSystemTests/CustomTaskBuildOperationTests.swift @@ -59,7 +59,7 @@ fileprivate struct CustomTaskBuildOperationTests: CoreBasedTests { customTasks: [ TestCustomTask( commandLine: ["$(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/tool\(runDestination == .windows ? ".exe" : "")"], - environment: ProcessInfo.processInfo.environment, + environment: ProcessInfo.processInfo.environment.filter(keys: ["PATH"]), // important to allow swift to be looked up in PATH on Windows/Linux workingDirectory: tmpDir.str, executionDescription: "My Custom Task", inputs: ["$(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/tool\(runDestination == .windows ? ".exe" : "")"],