Rollup merge of #82203 - c410-f3r:tests-tests-tests, r=Dylan-DPC

Move some tests to more reasonable directories - 4

cc #81941
This commit is contained in:
Yuki Okushi 2021-02-18 15:57:29 +09:00 committed by GitHub
commit fe15494857
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
55 changed files with 5 additions and 19 deletions

View File

@ -1 +0,0 @@
{"artifact":"$TEST_BUILD_DIR/emit-artifact-notifications.nll/libemit_artifact_notifications.rmeta","emit":"metadata"}

View File

@ -1 +0,0 @@
{"artifact":"$TEST_BUILD_DIR/emit-artifact-notifications.polonius/libemit_artifact_notifications.rmeta","emit":"metadata"}

View File

@ -1 +0,0 @@
{"artifact":"$TEST_BUILD_DIR/emit-artifact-notifications/libemit_artifact_notifications.rmeta","emit":"metadata"}

View File

@ -1,14 +0,0 @@
// run-pass
#![allow(unused_comparisons)]
// Test that you only need the syntax gate if you don't mention the structs.
// (Obsoleted since both features are stabilized)
fn main() {
let mut count = 0;
for i in 0_usize..=10 {
assert!(i >= 0 && i <= 10);
count += i;
}
assert_eq!(count, 55);
}

View File

@ -0,0 +1 @@
{"artifact":"$TEST_BUILD_DIR/rmeta/emit-artifact-notifications.nll/libemit_artifact_notifications.rmeta","emit":"metadata"}

View File

@ -0,0 +1 @@
{"artifact":"$TEST_BUILD_DIR/rmeta/emit-artifact-notifications.polonius/libemit_artifact_notifications.rmeta","emit":"metadata"}

View File

@ -0,0 +1 @@
{"artifact":"$TEST_BUILD_DIR/rmeta/emit-artifact-notifications/libemit_artifact_notifications.rmeta","emit":"metadata"}

View File

@ -7,8 +7,8 @@ use std::path::Path;
const ENTRY_LIMIT: usize = 1000;
// FIXME: The following limits should be reduced eventually.
const ROOT_ENTRY_LIMIT: usize = 1459;
const ISSUES_ENTRY_LIMIT: usize = 2615;
const ROOT_ENTRY_LIMIT: usize = 1418;
const ISSUES_ENTRY_LIMIT: usize = 2582;
fn check_entries(path: &Path, bad: &mut bool) {
let dirs = walkdir::WalkDir::new(&path.join("test/ui"))