]> git.lizzy.rs Git - rust.git/commit
auto merge of #12055 : dguenther/rust/tidy_test, r=alexcrichton
authorbors <bors@rust-lang.org>
Fri, 7 Feb 2014 19:26:29 +0000 (11:26 -0800)
committerbors <bors@rust-lang.org>
Fri, 7 Feb 2014 19:26:29 +0000 (11:26 -0800)
commit56565eb129018a708445afcd6ea14f5b51cf27e5
tree6ac3203e6798df65908f65ec403f99f19400bea3
parentca40da8b55a04394f1db11b6c7410e49b63c6e04
parent730bdb6403dd47b98c1be6c4b3423edb28ca9477
auto merge of #12055 : dguenther/rust/tidy_test, r=alexcrichton

This PR extends the tidy formatting check to rust files in the test folder. To facilitate this, a few flags were added to tidy:

* `xfail-tidy-cr` - Disables the check for CR characters for all following lines in the file
* `xfail-tidy-tab` - Disables the check for tab characters for all following lines in the file
* `xfail-tidy-linelength` - Disables the line length check for all following lines in the file

Checks should not have to be disabled often. I disabled line length checks in `debug-info` tests that use `debugger:` checks, but aside from that, there were relatively few exclusions. Running tidy on all the tests does slow down the formatting check, so it may be worth investigating further optimization.

cc #4534