Skip to content

Commit

Permalink
Move rustdoc UI tests into a subdirectory
Browse files Browse the repository at this point in the history
This also adds a little leeway to the test limit.
  • Loading branch information
jyn514 committed Mar 8, 2021
1 parent 66ec64c commit bc1fbf5
Show file tree
Hide file tree
Showing 18 changed files with 4 additions and 1 deletion.
File renamed without changes.
3 changes: 3 additions & 0 deletions src/test/ui/rustdoc/README.md
Original file line number Diff line number Diff line change
@@ -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.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/tools/tidy/src/ui_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use std::path::Path;

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) {
Expand Down

0 comments on commit bc1fbf5

Please sign in to comment.