Move tests

This commit is contained in:
Caio 2022-12-11 19:43:42 -03:00
parent 657eefe2dc
commit 645fac3e1d
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")) {