-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Revert compiletest hacks, use latest compiletest #3927
Conversation
@@ -74,12 +74,16 @@ fn run_mode(mode: &str, dir: PathBuf) { | |||
compiletest::run_tests(&cfg); | |||
} | |||
|
|||
#[warn(clippy::identity_conversion)] | |||
fn run_ui_toml_tests(config: &compiletest::Config, mut tests: Vec<TestDescAndFn>) -> Result<bool, io::Error> { | |||
#[allow(clippy::identity_conversion)] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line should be removed completely (sometime). It's a bug that this lint started to trigger and therefore we set it to warn
instead of deny
for the dogfood test. #3913
If this bug still exists (which I think is the case) this line should stay unchanged.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It still exists :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remember, compile-test.rs is a different crate, so allow()
s applied elsewhere will not help here.
Hmm, appveyor fails (but not travis) on rustc_term issues... |
Ah we still depend on libtest |
@bors r+ |
📌 Commit 4c7c39a has been approved by |
Revert compiletest hacks, use latest compiletest The libtest changes have been reverted, see rust-lang/rust#59766, Manishearth/compiletest-rs#174
☀️ Test successful - checks-travis, status-appveyor |
The libtest changes have been reverted, see rust-lang/rust#59766, Manishearth/compiletest-rs#174