From 2c2398ca0d877390b9716cfa135b59418b9f6b5d Mon Sep 17 00:00:00 2001 From: Tim Chevalier Date: Fri, 7 Dec 2012 23:42:26 -0800 Subject: [PATCH] Xfail broken tests --- doc/rust.md | 4 ++-- src/test/bench/shootout-nbody.rs | 1 + src/test/run-pass/stat.rs | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/doc/rust.md b/doc/rust.md index 8c39fab28e7..096b873e589 100644 --- a/doc/rust.md +++ b/doc/rust.md @@ -2704,7 +2704,7 @@ The special type `self` has a meaning within methods inside an impl item. It refers to the type of the implicit `self` argument. For example, in: -~~~~~~ +~~~~~~~~{.xfail-test} trait Printable { fn to_str() -> ~str; } @@ -2712,7 +2712,7 @@ trait Printable { impl ~str: Printable { fn to_str() -> ~str { copy self } } -~~~~~~ +~~~~~~~~ `self` refers to the value of type `~str` that is the receiver for a call to the method `to_str`. diff --git a/src/test/bench/shootout-nbody.rs b/src/test/bench/shootout-nbody.rs index bd535b12895..4fb621b7f0d 100644 --- a/src/test/bench/shootout-nbody.rs +++ b/src/test/bench/shootout-nbody.rs @@ -1,3 +1,4 @@ +// xfail-test // based on: // http://shootout.alioth.debian.org/u32/benchmark.php?test=nbody&lang=java diff --git a/src/test/run-pass/stat.rs b/src/test/run-pass/stat.rs index 9767370fe7f..9e3edb0c74d 100644 --- a/src/test/run-pass/stat.rs +++ b/src/test/run-pass/stat.rs @@ -1,3 +1,4 @@ +// xfail-test extern mod std; use io::WriterUtil; use std::tempfile;