Skip to content

Commit

Permalink
Move some tests to more reasonable directories
Browse files Browse the repository at this point in the history
  • Loading branch information
c410-f3r committed Nov 14, 2021
1 parent f820d9d commit ab5434f
Show file tree
Hide file tree
Showing 187 changed files with 9 additions and 233 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
15 changes: 0 additions & 15 deletions src/test/ui/alloca-from-derived-tydesc.rs

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
15 changes: 0 additions & 15 deletions src/test/ui/augmented-assignments-feature-gate.rs

This file was deleted.

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.
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.
15 changes: 0 additions & 15 deletions src/test/ui/estr-uniq.rs

This file was deleted.

11 changes: 0 additions & 11 deletions src/test/ui/export-import.rs

This file was deleted.

15 changes: 0 additions & 15 deletions src/test/ui/export-import.stderr

This file was deleted.

11 changes: 0 additions & 11 deletions src/test/ui/export-non-interference2.rs

This file was deleted.

11 changes: 0 additions & 11 deletions src/test/ui/export-non-interference3.rs

This file was deleted.

11 changes: 0 additions & 11 deletions src/test/ui/export2.rs

This file was deleted.

9 changes: 0 additions & 9 deletions src/test/ui/export2.stderr

This file was deleted.

4 changes: 0 additions & 4 deletions src/test/ui/expr-block-unique.rs

This file was deleted.

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.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
warning: irrefutable `while let` pattern
--> $DIR/while-let.rs:7:19
--> $DIR/while-let-2.rs:7:19
|
LL | while let $p = $e $b
| ^^^
Expand All @@ -15,7 +15,7 @@ LL | | });
= note: this warning originates in the macro `foo` (in Nightly builds, run with -Z macro-backtrace for more info)

warning: irrefutable `while let` pattern
--> $DIR/while-let.rs:7:19
--> $DIR/while-let-2.rs:7:19
|
LL | while let $p = $e $b
| ^^^
Expand All @@ -30,7 +30,7 @@ LL | | });
= note: this warning originates in the macro `foo` (in Nightly builds, run with -Z macro-backtrace for more info)

warning: irrefutable `while let` pattern
--> $DIR/while-let.rs:27:11
--> $DIR/while-let-2.rs:27:11
|
LL | while let _a = 1 {
| ^^^^^^^^^^
Expand Down
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.
20 changes: 0 additions & 20 deletions src/test/ui/keyword-changes-2012-07-31.rs

This file was deleted.

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.
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.
File renamed without changes.
File renamed without changes.
7 changes: 0 additions & 7 deletions src/test/ui/paren-free.rs

This file was deleted.

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.
6 changes: 0 additions & 6 deletions src/test/ui/purity-infer.rs

This file was deleted.

12 changes: 0 additions & 12 deletions src/test/ui/readalias.rs

This file was deleted.

File renamed without changes.
10 changes: 0 additions & 10 deletions src/test/ui/reexport-should-still-link.rs

This file was deleted.

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.
File renamed without changes.
File renamed without changes.
File renamed without changes.
13 changes: 0 additions & 13 deletions src/test/ui/ret-none.rs

This file was deleted.

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.
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.
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.
17 changes: 0 additions & 17 deletions src/test/ui/type-in-nested-module.rs

This file was deleted.

File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// build-pass (FIXME(62277): could be check-pass?)
// check-pass

struct S<T>(*const T) where T: ?Sized;

Expand Down
7 changes: 0 additions & 7 deletions src/test/ui/use-crate-name-alias.rs

This file was deleted.

19 changes: 0 additions & 19 deletions src/test/ui/writealias.rs

This file was deleted.

6 changes: 5 additions & 1 deletion src/tools/tidy/src/ui_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ use std::path::Path;

const ENTRY_LIMIT: usize = 1000;
// FIXME: The following limits should be reduced eventually.
const ROOT_ENTRY_LIMIT: usize = 1275;
const ROOT_ENTRY_LIMIT: usize = 1102;
const ISSUES_ENTRY_LIMIT: usize = 2310;
const PARSER_LIMIT: usize = 1004;

fn check_entries(path: &Path, bad: &mut bool) {
let dirs = walkdir::WalkDir::new(&path.join("test/ui"))
Expand All @@ -21,10 +22,13 @@ fn check_entries(path: &Path, bad: &mut bool) {
// Use special values for these dirs.
let is_root = path.join("test/ui") == dir_path;
let is_issues_dir = path.join("test/ui/issues") == dir_path;
let is_parser = path.join("test/ui/parser") == dir_path;
let limit = if is_root {
ROOT_ENTRY_LIMIT
} else if is_issues_dir {
ISSUES_ENTRY_LIMIT
} else if is_parser {
PARSER_LIMIT
} else {
ENTRY_LIMIT
};
Expand Down

0 comments on commit ab5434f

Please sign in to comment.