about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-04-06 05:22:35 +0000
committerbors <bors@rust-lang.org>2023-04-06 05:22:35 +0000
commit7f6edd3f15f75f0df70027edee2a520820d14217 (patch)
tree276fa7e36cd8745c9cd67dcb15d643c50fc11575
parentf211da7101a3c91f0afc23436abbcd3bd1d40d2b (diff)
parenta6810ccb258b6ca5a6436848f47ae91393822162 (diff)
downloadrust-7f6edd3f15f75f0df70027edee2a520820d14217.tar.gz
rust-7f6edd3f15f75f0df70027edee2a520820d14217.zip
Auto merge of #109874 - jyn514:subdirectory-limit, r=compiler-errors
Reduce the default max number of files in a UI test directory

It doesn't make sense for the root directory to have a lower limit than subdirectories.
-rw-r--r--src/tools/tidy/src/ui_tests.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/tidy/src/ui_tests.rs b/src/tools/tidy/src/ui_tests.rs
index f582666ab28..0f08f5d0b70 100644
--- a/src/tools/tidy/src/ui_tests.rs
+++ b/src/tools/tidy/src/ui_tests.rs
@@ -7,8 +7,8 @@ use std::collections::HashMap;
 use std::fs;
 use std::path::{Path, PathBuf};
 
-const ENTRY_LIMIT: usize = 1000;
 // FIXME: The following limits should be reduced eventually.
+const ENTRY_LIMIT: usize = 885;
 const ROOT_ENTRY_LIMIT: usize = 881;
 const ISSUES_ENTRY_LIMIT: usize = 1978;