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

Make dogfood test output to seperate directory #2605

Merged
merged 9 commits into from Apr 2, 2018
Merged

Make dogfood test output to seperate directory #2605

merged 9 commits into from Apr 2, 2018

Conversation

ghost
Copy link

@ghost ghost commented Apr 1, 2018

This commit makes cargo clippy output the build artifacts to a
separate directory if the CLIPPY_DOGFOOD env var is set. This should
prevent dogfood builds from interfering with regular builds.

This should help with issue #2595.

Michael Wright added 2 commits April 1, 2018 09:44
This commit makes `cargo clippy` output the build artifacts to a
separate directory if the `CLIPPY_DOGFOOD` env var is set. This should
prevent dogfood builds from interfering with regular builds.

This should help with issue #2595.
@ghost
Copy link
Author

ghost commented Apr 1, 2018

The build is failing because cargo clippy --all -- -D clippy is finding issues in the source. I wonder if this isn't because of #2604. The dogfood would run with these as warnings and then hide them from the cargo clippy run later.

@oli-obk
Copy link
Contributor

oli-obk commented Apr 1, 2018

Oh that's why this didn't work! Would you be so kind and fix clippy?

Michael Wright added 7 commits April 2, 2018 07:04
Allow `many_single_char_names` on `SpanlessHash::hash_expr`. Each
variable has a small scope and the method is readable.
Fix `option_option` warning on `to_const_range` by taking the entire range
as an parameter instead of the start and end.
Fix cyclomatic_complexity warning on `check_expr` by allowing it. This
is preferable to increasing the threshold every time the method changes.
Fix too_many_arguments on `check_general_case` by allowing it. I can't
see a sensible way of grouping the parameters.
@oli-obk oli-obk merged commit c5559c1 into rust-lang:master Apr 2, 2018
@oli-obk
Copy link
Contributor

oli-obk commented Apr 2, 2018

Thanks!

@ghost ghost deleted the dogfood_target_dir branch April 5, 2018 17:46
@flip1995 flip1995 mentioned this pull request Nov 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant