Skip to content

Conversation

@grynspan
Copy link
Contributor

@grynspan grynspan commented Sep 18, 2024

This PR adds ~Copyable to ExitTest, which is a tools-only bit of SPI representing a (gasp) exit test. This change has the effect of making it impossible to accidentally invoke an exit test body in the parent process, and also impossible to accidentally invoke twice in the child process. Phew!

Checklist:

  • Code and documentation should follow the style of the Style Guide.
  • If public symbols are renamed or modified, DocC references should be updated.

This PR adds `~Copyable` to `ExitTest`, which is a tools-only bit of SPI
representing a (gasp) exit test. This change has the effect of making it
impossible to accidentally invoke an exit test body in the parent process, and
also impossible to accidentally invoke twice in the child process. Phew!
@grynspan grynspan added enhancement New feature or request tools integration 🛠️ Integration of swift-testing into tools/IDEs exit-tests ☠️ Work related to exit tests labels Sep 18, 2024
@grynspan grynspan self-assigned this Sep 18, 2024
@grynspan
Copy link
Contributor Author

@swift-ci test

@grynspan grynspan merged commit aa427e7 into main Sep 18, 2024
@grynspan grynspan deleted the jgrynspan/exit-test-move-only branch September 18, 2024 22:07
@grynspan grynspan added this to the Swift 6.1 milestone Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request exit-tests ☠️ Work related to exit tests tools integration 🛠️ Integration of swift-testing into tools/IDEs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants