Skip to content

Commit

Permalink
Rollup merge of #82800 - jyn514:group-rustdoc-tests, r=Mark-Simulacrum
Browse files Browse the repository at this point in the history
Move rustdoc UI tests into a subdirectory

Helps with #73494.
  • Loading branch information
m-ou-se authored Mar 8, 2021
2 parents 6e9a94a + bc1fbf5 commit 5ff52cb
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 5ff52cb

Please sign in to comment.