Rollup merge of #104997 - c410-f3r:moar-errors, r=petrochenkov

Move tests

r? `@petrochenkov`
This commit is contained in:
Matthias Krüger 2022-12-12 08:21:31 +01:00 committed by GitHub
commit 139ff9d6e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
35 changed files with 1 additions and 19 deletions

View File

@ -1,18 +0,0 @@
// check-pass
#![allow(dead_code)]
// pretty-expanded FIXME #23616
const INVALID_ENUM : u32 = 0;
const INVALID_VALUE : u32 = 1;
fn gl_err_str(err: u32) -> String
{
match err
{
INVALID_ENUM => { "Invalid enum".to_string() },
INVALID_VALUE => { "Invalid value".to_string() },
_ => { "Unknown error".to_string() }
}
}
pub fn main() {}

View File

@ -10,7 +10,7 @@ use std::path::Path;
const ENTRY_LIMIT: usize = 1000;
// FIXME: The following limits should be reduced eventually.
const ROOT_ENTRY_LIMIT: usize = 939;
const ISSUES_ENTRY_LIMIT: usize = 2070;
const ISSUES_ENTRY_LIMIT: usize = 2040;
fn check_entries(path: &Path, bad: &mut bool) {
for dir in Walk::new(&path.join("test/ui")) {