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

[SR-4595] Tests generate lots of warnings #47172

Open
dabrahams opened this issue Apr 14, 2017 · 1 comment
Open

[SR-4595] Tests generate lots of warnings #47172

dabrahams opened this issue Apr 14, 2017 · 1 comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. good first issue Good for newcomers

Comments

@dabrahams
Copy link
Collaborator

Previous ID SR-4595
Radar None
Original Reporter @dabrahams
Type Bug
Additional Detail from JIRA
Votes 0
Component/s Project Infrastructure
Labels Bug, StarterBug
Assignee None
Priority Medium

md5: 3bb31b4381d569556f0d983141a18d9c

Issue Description:

Because tests pass even when they produce warnings, most people don't see this, but when a test fails, it really matters that the important information is not buried under a bunch of irrelevancies. We need both:

  1. To clean up all the existing warnings in tests (obviously, other than those that are part of what we're testing for, and while keeping the tests running)

  2. To put a system in place that will cause us to keep the tests clean of warnings.

@belkadan
Copy link
Contributor

Note that this isn't true for all tests; there are some that use deliberately bad code to stress the parser and type-checker. But this doesn't apply to most execution tests, at least (those that use %target-run).

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants