File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -53,3 +53,7 @@ internal = ["clippy_lints/internal", "tempfile"]
53
53
[package .metadata .rust-analyzer ]
54
54
# This package uses #[feature(rustc_private)]
55
55
rustc_private = true
56
+
57
+ [[test ]]
58
+ name = " compile-test"
59
+ harness = false
Original file line number Diff line number Diff line change @@ -121,13 +121,14 @@ fn run_ui_cargo() {
121
121
ui_test:: run_tests_generic ( config, |path| path. ends_with ( "Cargo.toml" ) ) . unwrap ( ) ;
122
122
}
123
123
124
- #[ test]
125
- fn compile_test ( ) {
124
+ fn main ( ) {
126
125
set_var ( "CLIPPY_DISABLE_DOCS_LINKS" , "true" ) ;
127
126
run_ui ( ) ;
128
127
run_ui_toml ( ) ;
129
128
run_ui_cargo ( ) ;
130
129
run_internal_tests ( ) ;
130
+ rustfix_coverage_known_exceptions_accuracy ( ) ;
131
+ ui_cargo_toml_metadata ( ) ;
131
132
}
132
133
133
134
const RUSTFIX_COVERAGE_KNOWN_EXCEPTIONS : & [ & str ] = & [
@@ -199,7 +200,6 @@ fn check_rustfix_coverage() {
199
200
}
200
201
}
201
202
202
- #[ test]
203
203
fn rustfix_coverage_known_exceptions_accuracy ( ) {
204
204
for filename in RUSTFIX_COVERAGE_KNOWN_EXCEPTIONS {
205
205
let rs_path = Path :: new ( "tests/ui" ) . join ( filename) ;
@@ -210,7 +210,6 @@ fn rustfix_coverage_known_exceptions_accuracy() {
210
210
}
211
211
}
212
212
213
- #[ test]
214
213
fn ui_cargo_toml_metadata ( ) {
215
214
let ui_cargo_path = Path :: new ( "tests/ui-cargo" ) ;
216
215
let cargo_common_metadata_path = ui_cargo_path. join ( "cargo_common_metadata" ) ;
You can’t perform that action at this time.
0 commit comments