Move tests
This commit is contained in:
parent
657eefe2dc
commit
645fac3e1d
@ -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() {}
|
|
@ -10,7 +10,7 @@ use std::path::Path;
|
|||||||
const ENTRY_LIMIT: usize = 1000;
|
const ENTRY_LIMIT: usize = 1000;
|
||||||
// FIXME: The following limits should be reduced eventually.
|
// FIXME: The following limits should be reduced eventually.
|
||||||
const ROOT_ENTRY_LIMIT: usize = 939;
|
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) {
|
fn check_entries(path: &Path, bad: &mut bool) {
|
||||||
for dir in Walk::new(&path.join("test/ui")) {
|
for dir in Walk::new(&path.join("test/ui")) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user