about summary refs log tree commit diff
diff options
context:
space:
mode:
authorflip1995 <hello@philkrones.com>2020-05-28 17:19:30 +0200
committerflip1995 <hello@philkrones.com>2020-05-28 17:19:30 +0200
commit914ff97f2bac425c35d563693f1b823fae8cc8b0 (patch)
tree67e86cdba0cc1b8a61422e53124744c6191eedcf
parentf20fa1b1bb9888609ed2f7349ef0e030f987a351 (diff)
downloadrust-914ff97f2bac425c35d563693f1b823fae8cc8b0.tar.gz
rust-914ff97f2bac425c35d563693f1b823fae8cc8b0.zip
Temp fix: don't run cargo lint tests in rustc test suite
-rw-r--r--src/tools/clippy/tests/compile-test.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tools/clippy/tests/compile-test.rs b/src/tools/clippy/tests/compile-test.rs
index 2758b9a7e76..1c4914a470c 100644
--- a/src/tools/clippy/tests/compile-test.rs
+++ b/src/tools/clippy/tests/compile-test.rs
@@ -153,6 +153,9 @@ fn run_ui_toml(config: &mut compiletest::Config) {
 }
 
 fn run_ui_cargo(config: &mut compiletest::Config) {
+    if cargo::is_rustc_test_suite() {
+        return;
+    }
     fn run_tests(
         config: &compiletest::Config,
         filter: &Option<String>,