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

Add a way to track Rustfix UI test coverage #59398

Merged
merged 4 commits into from
Mar 29, 2019

Commits on Mar 24, 2019

  1. Add a way to track Rustfix UI test coverage

    This came out of the first Rustfix WG meeting.
    
    One of the goals is to enable Rustfix tests for all UI tests that
    trigger lints with `MachineApplicable` suggestions. In order to do that
    we first want to create a tracking issue that lists all files with
    missing `// run-rustfix` headers.
    
    This PR adds a `--rustfix-coverage` flag to `./x.py` and compiletest to
    list the files with the missing headers in `/tmp/rustfix_missing_coverage.txt`.
    
    From that file we can create the tracking issue and at some point also
    enforce the `// run-rustfix` flag on UI tests with `MachineApplicable`
    lints.
    phansch committed Mar 24, 2019
    Configuration menu
    Copy the full SHA
    02b8533 View commit details
    Browse the repository at this point in the history

Commits on Mar 25, 2019

  1. Fix two bootstrap tests

    phansch committed Mar 25, 2019
    Configuration menu
    Copy the full SHA
    d485ebf View commit details
    Browse the repository at this point in the history
  2. s/lints/diagnostics

    Not all suggestions come from lints
    phansch committed Mar 25, 2019
    Configuration menu
    Copy the full SHA
    98d7c54 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d808bd4 View commit details
    Browse the repository at this point in the history