Skip to content

Commit b12203f

Browse files
authored
Rename "SWT_EXPERIMENTAL_CAPTURED_VALUES". (#1242)
This feature has been approved and is no longer experimental, so rename the environment variable we use to shuffle data across process boundaries. ### Checklist: - [x] Code and documentation should follow the style of the [Style Guide](https://github.com/apple/swift-testing/blob/main/Documentation/StyleGuide.md). - [x] If public symbols are renamed or modified, DocC references should be updated.
1 parent 4df4ff0 commit b12203f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/Testing/ExitTests/ExitTest.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -919,7 +919,7 @@ extension ExitTest {
919919
childEnvironment["SWT_BACKCHANNEL"] = backChannelEnvironmentVariable
920920
}
921921
if let capturedValuesEnvironmentVariable = _makeEnvironmentVariable(for: capturedValuesReadEnd) {
922-
childEnvironment["SWT_EXPERIMENTAL_CAPTURED_VALUES"] = capturedValuesEnvironmentVariable
922+
childEnvironment["SWT_CAPTURED_VALUES"] = capturedValuesEnvironmentVariable
923923
}
924924

925925
// Spawn the child process.
@@ -1071,7 +1071,7 @@ extension ExitTest {
10711071
private mutating func _decodeCapturedValuesForEntryPoint() throws {
10721072
// Read the content of the captured values stream provided by the parent
10731073
// process above.
1074-
guard let fileHandle = Self._makeFileHandle(forEnvironmentVariableNamed: "SWT_EXPERIMENTAL_CAPTURED_VALUES", mode: "rb") else {
1074+
guard let fileHandle = Self._makeFileHandle(forEnvironmentVariableNamed: "SWT_CAPTURED_VALUES", mode: "rb") else {
10751075
return
10761076
}
10771077
let capturedValuesJSON = try fileHandle.readToEnd()

0 commit comments

Comments
 (0)