Move tests
This commit is contained in:
parent
5e656baf8b
commit
d4344d2f91
@ -1,17 +0,0 @@
|
|||||||
// build-pass
|
|
||||||
#![allow(dead_code)]
|
|
||||||
#![allow(improper_ctypes)]
|
|
||||||
// pretty-expanded FIXME #23616
|
|
||||||
#![allow(non_snake_case)]
|
|
||||||
|
|
||||||
pub mod Bar {
|
|
||||||
pub struct Foo {
|
|
||||||
v: isize,
|
|
||||||
}
|
|
||||||
|
|
||||||
extern "C" {
|
|
||||||
pub fn foo(v: *const Foo) -> Foo;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
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 = 2040;
|
const ISSUES_ENTRY_LIMIT: usize = 2020;
|
||||||
|
|
||||||
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