Skip to content

Commit e2f6fb9

Browse files
committed
Auto merge of rust-lang#91037 - c410-f3r:testsssssss, r=petrochenkov
Move some tests to more reasonable directories - 10 cc rust-lang#73494 r? `@petrochenkov`
2 parents dd549dc + 062abf3 commit e2f6fb9

29 files changed

+1
-5
lines changed

src/tools/tidy/src/ui_tests.rs

+1-5
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,8 @@ use std::path::Path;
77

88
const ENTRY_LIMIT: usize = 1000;
99
// FIXME: The following limits should be reduced eventually.
10-
const ROOT_ENTRY_LIMIT: usize = 983;
10+
const ROOT_ENTRY_LIMIT: usize = 982;
1111
const ISSUES_ENTRY_LIMIT: usize = 2310;
12-
const PARSER_LIMIT: usize = 1012;
1312

1413
fn check_entries(path: &Path, bad: &mut bool) {
1514
let dirs = walkdir::WalkDir::new(&path.join("test/ui"))
@@ -22,13 +21,10 @@ fn check_entries(path: &Path, bad: &mut bool) {
2221
// Use special values for these dirs.
2322
let is_root = path.join("test/ui") == dir_path;
2423
let is_issues_dir = path.join("test/ui/issues") == dir_path;
25-
let is_parser = path.join("test/ui/parser") == dir_path;
2624
let limit = if is_root {
2725
ROOT_ENTRY_LIMIT
2826
} else if is_issues_dir {
2927
ISSUES_ENTRY_LIMIT
30-
} else if is_parser {
31-
PARSER_LIMIT
3228
} else {
3329
ENTRY_LIMIT
3430
};

0 commit comments

Comments
 (0)