From 71530815285e92609365e25b906639bea4c1a29b Mon Sep 17 00:00:00 2001 From: Jonathan Grynspan Date: Fri, 25 Jul 2025 15:33:11 -0400 Subject: [PATCH] Rename `"SWT_EXPERIMENTAL_CAPTURED_VALUES"`. This feature has been approved and is no longer experimental, so rename the environment variable we use to shuffle data across process boundaries. --- Sources/Testing/ExitTests/ExitTest.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/Testing/ExitTests/ExitTest.swift b/Sources/Testing/ExitTests/ExitTest.swift index 374bd9e3c..737ff8463 100644 --- a/Sources/Testing/ExitTests/ExitTest.swift +++ b/Sources/Testing/ExitTests/ExitTest.swift @@ -919,7 +919,7 @@ extension ExitTest { childEnvironment["SWT_BACKCHANNEL"] = backChannelEnvironmentVariable } if let capturedValuesEnvironmentVariable = _makeEnvironmentVariable(for: capturedValuesReadEnd) { - childEnvironment["SWT_EXPERIMENTAL_CAPTURED_VALUES"] = capturedValuesEnvironmentVariable + childEnvironment["SWT_CAPTURED_VALUES"] = capturedValuesEnvironmentVariable } // Spawn the child process. @@ -1071,7 +1071,7 @@ extension ExitTest { private mutating func _decodeCapturedValuesForEntryPoint() throws { // Read the content of the captured values stream provided by the parent // process above. - guard let fileHandle = Self._makeFileHandle(forEnvironmentVariableNamed: "SWT_EXPERIMENTAL_CAPTURED_VALUES", mode: "rb") else { + guard let fileHandle = Self._makeFileHandle(forEnvironmentVariableNamed: "SWT_CAPTURED_VALUES", mode: "rb") else { return } let capturedValuesJSON = try fileHandle.readToEnd()