xfail-fast the legacy_mode run-pass tests

This commit is contained in:
Brian Anderson 2012-09-19 13:59:44 -07:00
parent 3cb0fcb803
commit 35a9353774
44 changed files with 44 additions and 2 deletions

View file

@ -1,3 +1,4 @@
// xfail-fast
#[legacy_modes]; #[legacy_modes];
fn f1(a: {mut x: int}, &b: int, -c: int) -> int { fn f1(a: {mut x: int}, &b: int, -c: int) -> int {

View file

@ -1,3 +1,4 @@
// xfail-fast
#[legacy_modes]; #[legacy_modes];
extern mod std; extern mod std;

View file

@ -1,3 +1,4 @@
// xfail-fast
#[legacy_modes]; #[legacy_modes];
fn iter_vec<T>(v: ~[T], f: fn(T)) { for v.each |x| { f(x); } } fn iter_vec<T>(v: ~[T], f: fn(T)) { for v.each |x| { f(x); } }

View file

@ -1,3 +1,4 @@
// xfail-fast
#[legacy_modes]; #[legacy_modes];
fn iter_vec<T>(v: ~[T], f: fn(T)) { for v.each |x| { f(x); } } fn iter_vec<T>(v: ~[T], f: fn(T)) { for v.each |x| { f(x); } }

View file

@ -1,3 +1,4 @@
// xfail-fast
#[legacy_modes]; #[legacy_modes];
extern mod std; extern mod std;

View file

@ -1,3 +1,4 @@
// xfail-fast
#[legacy_modes]; #[legacy_modes];
trait noisy { trait noisy {

View file

@ -1,3 +1,4 @@
// xfail-fast
#[legacy_modes]; #[legacy_modes];
fn foo(i: int) -> int { i + 1 } fn foo(i: int) -> int { i + 1 }

View file

@ -1,3 +1,4 @@
// xfail-fast
// -*- rust -*- // -*- rust -*-
#[legacy_modes]; #[legacy_modes];

View file

@ -1,3 +1,4 @@
// xfail-fast
// -*- rust -*- // -*- rust -*-
#[legacy_modes]; #[legacy_modes];

View file

@ -1,3 +1,4 @@
// xfail-fast
// -*- rust -*- // -*- rust -*-
#[legacy_modes]; #[legacy_modes];

View file

@ -1,4 +1,5 @@
// -*- rust -*- // -*- rust -*-
// xfail-fast
#[legacy_modes]; #[legacy_modes];
type compare<T> = fn@(T, T) -> bool; type compare<T> = fn@(T, T) -> bool;

View file

@ -1,3 +1,4 @@
// xfail-fast
// -*- rust -*- // -*- rust -*-
#[legacy_modes]; #[legacy_modes];

View file

@ -1,5 +1,6 @@
// -*- rust -*- // -*- rust -*-
// xfail-fast
#[legacy_modes]; #[legacy_modes];
// Tests for standalone blocks as expressions with dynamic type sizes // Tests for standalone blocks as expressions with dynamic type sizes

View file

@ -1,3 +1,4 @@
// xfail-fast
// -*- rust -*- // -*- rust -*-
#[legacy_modes]; #[legacy_modes];

View file

@ -1,3 +1,4 @@
// xfail-fast
// -*- rust -*- // -*- rust -*-
#[legacy_modes]; #[legacy_modes];

View file

@ -1,3 +1,4 @@
// xfail-fast
#[legacy_modes]; #[legacy_modes];
fn fix_help<A, B>(f: extern fn(fn@(A) -> B, A) -> B, x: A) -> B { fn fix_help<A, B>(f: extern fn(fn@(A) -> B, A) -> B, x: A) -> B {

View file

@ -1,3 +1,4 @@
// xfail-fast
#[legacy_modes]; #[legacy_modes];
fn fix_help<A: Owned, B: Send>(f: extern fn(fn@(A) -> B, A) -> B, x: A) -> B { fn fix_help<A: Owned, B: Send>(f: extern fn(fn@(A) -> B, A) -> B, x: A) -> B {

View file

@ -1,11 +1,10 @@
// This is what the signature to spawn should look like with bare functions // This is what the signature to spawn should look like with bare functions
#[legacy_modes];
fn spawn<T: Send>(val: T, f: extern fn(T)) { fn spawn<T: Send>(val: T, f: extern fn(T)) {
f(val); f(val);
} }
fn f(&&i: int) { fn f(+i: int) {
assert i == 100; assert i == 100;
} }

View file

@ -1,3 +1,4 @@
// xfail-fast
#[legacy_modes]; #[legacy_modes];
fn mk() -> int { return 1; } fn mk() -> int { return 1; }

View file

@ -1,3 +1,4 @@
// xfail-fast
#[legacy_modes]; #[legacy_modes];
#[abi = "rust-intrinsic"] #[abi = "rust-intrinsic"]
extern mod rusti { extern mod rusti {

View file

@ -1,3 +1,4 @@
// xfail-fast
// This test had to do with an outdated version of the iterable trait. // This test had to do with an outdated version of the iterable trait.
// However, the condition it was testing seemed complex enough to // However, the condition it was testing seemed complex enough to
// warrant still having a test, so I inlined the old definitions. // warrant still having a test, so I inlined the old definitions.

View file

@ -1,3 +1,4 @@
// xfail-fast
#[legacy_modes]; #[legacy_modes];
use iter::BaseIter; use iter::BaseIter;

View file

@ -1,3 +1,4 @@
// xfail-fast
#[legacy_modes]; #[legacy_modes];
fn main() { fn main() {

View file

@ -1,3 +1,4 @@
// xfail-fast
#[legacy_modes]; #[legacy_modes];
trait vec_monad<A> { trait vec_monad<A> {

View file

@ -1,3 +1,4 @@
// xfail-fast
#[legacy_modes]; #[legacy_modes];
struct Point { struct Point {

View file

@ -1,3 +1,4 @@
// xfail-fast
#[legacy_modes]; #[legacy_modes];
use intrinsic::{TyDesc, get_tydesc, visit_tydesc, TyVisitor}; use intrinsic::{TyDesc, get_tydesc, visit_tydesc, TyVisitor};

View file

@ -1,3 +1,4 @@
// xfail-fast
#[legacy_modes]; #[legacy_modes];
fn region_identity(x: &r/uint) -> &r/uint { x } fn region_identity(x: &r/uint) -> &r/uint { x }

View file

@ -1,3 +1,4 @@
// xfail-fast
#[legacy_modes]; #[legacy_modes];
struct finish<T: Copy> { struct finish<T: Copy> {

View file

@ -1,3 +1,4 @@
// xfail-fast
#[legacy_modes]; #[legacy_modes];
use cmp::Eq; use cmp::Eq;

View file

@ -1,3 +1,4 @@
// xfail-fast
#[legacy_modes]; #[legacy_modes];
extern mod std; extern mod std;

View file

@ -1,3 +1,4 @@
// xfail-fast
#[legacy_modes]; #[legacy_modes];
fn test(f: fn(uint) -> uint) -> uint { fn test(f: fn(uint) -> uint) -> uint {

View file

@ -1,3 +1,4 @@
// xfail-fast
#[legacy_modes]; #[legacy_modes];
use a::*; use a::*;

View file

@ -1,3 +1,4 @@
// xfail-fast
#[legacy_modes]; #[legacy_modes];
// A trait for objects that can be used to do an if-then-else // A trait for objects that can be used to do an if-then-else

View file

@ -1,3 +1,4 @@
// xfail-fast
#[legacy_modes]; #[legacy_modes];
extern mod std; extern mod std;

View file

@ -1,3 +1,4 @@
// xfail-fast
#[legacy_modes]; #[legacy_modes];
extern mod std; extern mod std;

View file

@ -1,3 +1,4 @@
// xfail-fast
#[legacy_modes]; #[legacy_modes];
extern mod std; extern mod std;

View file

@ -1,3 +1,4 @@
// xfail-fast
#[legacy_modes]; #[legacy_modes];
extern mod std; extern mod std;

View file

@ -1,3 +1,4 @@
// xfail-fast
#[legacy_modes]; #[legacy_modes];
fn main() { fn main() {

View file

@ -1,3 +1,4 @@
// xfail-fast
// xfail-win32 // xfail-win32
#[legacy_modes]; #[legacy_modes];

View file

@ -1,3 +1,4 @@
// xfail-fast
#[legacy_modes]; #[legacy_modes];
extern mod std; extern mod std;

View file

@ -1,3 +1,4 @@
// xfail-fast
#[legacy_modes]; #[legacy_modes];
extern mod std; extern mod std;

View file

@ -1,3 +1,4 @@
// xfail-fast
#[legacy_modes]; #[legacy_modes];
extern mod std; extern mod std;

View file

@ -1,3 +1,4 @@
// xfail-fast
#[legacy_modes]; #[legacy_modes];
trait to_str { trait to_str {

View file

@ -1,3 +1,4 @@
// xfail-fast
#[legacy_modes]; #[legacy_modes];
fn p_foo<T>(pinned: T) { } fn p_foo<T>(pinned: T) { }