Move rustdoc UI tests into a subdirectory

This also adds a little leeway to the test limit.
This commit is contained in:
Joshua Nelson
2021-03-05 10:04:22 -05:00
parent 66ec64ccf3
commit bc1fbf55db
18 changed files with 4 additions and 1 deletions
+3
View File
@@ -0,0 +1,3 @@
This directory is for tests that have to do with rustdoc, but test the behavior
of rustc. For example, rustc should not warn that an attribute rustdoc uses is
unknown.
+1 -1
View File
@@ -7,7 +7,7 @@
const ENTRY_LIMIT: usize = 1000;
// FIXME: The following limits should be reduced eventually.
const ROOT_ENTRY_LIMIT: usize = 1418;
const ROOT_ENTRY_LIMIT: usize = 1408;
const ISSUES_ENTRY_LIMIT: usize = 2565;
fn check_entries(path: &Path, bad: &mut bool) {