Skip to content

Commit 914ff97

Browse files
committed
Temp fix: don't run cargo lint tests in rustc test suite
1 parent f20fa1b commit 914ff97

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/tools/clippy/tests/compile-test.rs

+3
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,9 @@ fn run_ui_toml(config: &mut compiletest::Config) {
153153
}
154154

155155
fn run_ui_cargo(config: &mut compiletest::Config) {
156+
if cargo::is_rustc_test_suite() {
157+
return;
158+
}
156159
fn run_tests(
157160
config: &compiletest::Config,
158161
filter: &Option<String>,

0 commit comments

Comments
 (0)