Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update the test generation script to allow for deprecated tests #223

Merged
merged 1 commit into from
Jul 30, 2020

Conversation

glbrntt
Copy link
Contributor

@glbrntt glbrntt commented Jul 30, 2020

Motivation:

To test deprecated functionality without a bunch of warnings, tests must
be marked as deprecated. This also needs to be bubbled up to anywhere
calling that test, such as in the generated linux test manifests.

Our script to generate the manifests currently doesn't support this and
as part of #214 we'll need to deprecate a few things while keeping their
tests.

Modifications:

  • Pull in the latest version of the generate_linux_tests.rb script
    from SwiftNIO.
  • Re-run the script, since it includes some formatting changes too.

Result:

  • When we deprecate functionality, we can deprecate the tests without
    the generate manifests emitting warnings.

Motivation:

To test deprecated functionality without a bunch of warnings, tests must
be marked as deprecated. This also needs to be bubbled up to anywhere
calling that test, such as in the generated linux test manifests.

Our script to generate the manifests currently doesn't support this and
as part of apple#214 we'll need to deprecate a few things while keeping their
tests.

Modifications:

- Pull in the latest version of the `generate_linux_tests.rb` script
  from SwiftNIO.
- Re-run the script, since it includes some formatting changes too.

Result:

- When we deprecate functionality, we can deprecate the tests without
  the generate manifests emitting warnings.
@glbrntt glbrntt added the semver/none No version bump required. label Jul 30, 2020
Copy link
Contributor

@PeterAdams-A PeterAdams-A left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hard to find fault.

@glbrntt glbrntt merged commit 48082ee into apple:master Jul 30, 2020
@glbrntt glbrntt deleted the gb-update-generate-linux-tests branch July 30, 2020 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver/none No version bump required.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants