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

Remove borrowck_graphviz_postflow from test #65629

Merged
merged 1 commit into from
Oct 21, 2019

Conversation

ecstatic-morse
Copy link
Contributor

@ecstatic-morse ecstatic-morse commented Oct 20, 2019

Resolves #65071 (again).

Sorry. I've added a commit hook to prevent this from happening in the future.

r? @petrochenkov

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Oct 20, 2019
@Mark-Simulacrum
Copy link
Member

We should probably lint against this in tidy perhaps? Let's leave that for a future PR though

@bors r+ for now

@bors
Copy link
Contributor

bors commented Oct 20, 2019

📌 Commit 51a5b49 has been approved by Mark-Simulacrum

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Oct 20, 2019
@Centril
Copy link
Contributor

Centril commented Oct 20, 2019

Feels like the cleaner way to handle this is via .gitignore?

@Mark-Simulacrum
Copy link
Member

The problem here isn't that the files are getting committed -- it is there existence that is the issue. gitignore does not help with their existence, only hides the problem.

@Centril
Copy link
Contributor

Centril commented Oct 20, 2019

Doesn't feel like their existence is the problem tbh (although not adding junk to the git root is good); it feels like them dirtying up git status and the risk of git add .ing them via is the actual problem (at least that's what annoyed me).

Centril added a commit to Centril/rust that referenced this pull request Oct 20, 2019
…ark-Simulacrum

Remove `borrowck_graphviz_postflow` from test

Resolves rust-lang#65071 (again).

Sorry. I've added a commit hook to prevent this from happening in the future.

r? @petrochenkov
bors added a commit that referenced this pull request Oct 20, 2019
Rollup of 8 pull requests

Successful merges:

 - #65314 (rustdoc: forward -Z options to rustc)
 - #65592 (clarify const_prop ICE protection comment)
 - #65603 (Avoid ICE when include! is used by stdin crate)
 - #65614 (Improve error message for APIT with explicit generic arguments)
 - #65629 (Remove `borrowck_graphviz_postflow` from test)
 - #65633 (Remove leading :: from paths in doc examples)
 - #65638 (Rename the default argument 'def' to 'default')
 - #65639 (Fix parameter name in documentation)

Failed merges:

r? @ghost
@bors bors merged commit 51a5b49 into rust-lang:master Oct 21, 2019
bors added a commit that referenced this pull request Oct 21, 2019
Check all files in `src/test` for `borrowck_graphviz_postflow`

This attribute causes DOT files to be generated in the top-level directory. It is intended to be used only temporarily and should never appear on master. This also tells git to ignore DOT files in the root or the  `mir_dump` directory, which `-Z dump-mir` uses by default.

This will prevent #65071 from occurring again. It needs to be merged after #65629, otherwise `tidy` will start failing.

r? @Mark-Simulacrum
@ecstatic-morse ecstatic-morse deleted the remove-graphviz branch October 6, 2020 01:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

x.py test generates several dot files in the source directory root
6 participants