Revert "Replace xfail-stageN with simply xfail-test"
This reverts commit 574194f6bc
.
This commit is contained in:
parent
574194f6bc
commit
66bc014720
2
mk/pp.mk
2
mk/pp.mk
|
@ -9,7 +9,7 @@ else
|
||||||
$(wildcard $(S)src/fuzzer/*.rs)
|
$(wildcard $(S)src/fuzzer/*.rs)
|
||||||
|
|
||||||
PP_INPUTS_FILTERED = $(shell echo $(PP_INPUTS) | xargs grep -L \
|
PP_INPUTS_FILTERED = $(shell echo $(PP_INPUTS) | xargs grep -L \
|
||||||
"no-reformat\|xfail-pretty\|xfail-test")
|
"no-reformat\|xfail-pretty\|xfail-stage2")
|
||||||
endif
|
endif
|
||||||
|
|
||||||
reformat: $(SREQ1)
|
reformat: $(SREQ1)
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
// xfail-test
|
// xfail-stage1
|
||||||
|
// xfail-stage2
|
||||||
|
// xfail-stage3
|
||||||
// error-pattern: attempted dynamic environment-capture
|
// error-pattern: attempted dynamic environment-capture
|
||||||
fn foo<T>() {
|
fn foo<T>() {
|
||||||
obj bar(b: T) { }
|
obj bar(b: T) { }
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
// -*- rust -*-
|
// -*- rust -*-
|
||||||
// xfail-test
|
// xfail-stage1
|
||||||
|
// xfail-stage2
|
||||||
|
// xfail-stage3
|
||||||
// error-pattern:Unsatisfied precondition
|
// error-pattern:Unsatisfied precondition
|
||||||
|
|
||||||
tag list { cons(int, @list); nil; }
|
tag list { cons(int, @list); nil; }
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
// xfail-test
|
// xfail-stage1
|
||||||
|
// xfail-stage2
|
||||||
|
// xfail-stage3
|
||||||
// -*- rust -*-
|
// -*- rust -*-
|
||||||
|
|
||||||
// error-pattern: dead
|
// error-pattern: dead
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
// xfail-test
|
// xfail-stage1
|
||||||
|
// xfail-stage2
|
||||||
|
// xfail-stage3
|
||||||
// -*- rust -*-
|
// -*- rust -*-
|
||||||
|
|
||||||
// error-pattern: dead
|
// error-pattern: dead
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
// xfail-test
|
// xfail-stage1
|
||||||
|
// xfail-stage2
|
||||||
|
// xfail-stage3
|
||||||
// -*- rust -*-
|
// -*- rust -*-
|
||||||
|
|
||||||
// error-pattern: tag of infinite size
|
// error-pattern: tag of infinite size
|
||||||
|
|
|
@ -59,9 +59,12 @@ fn is_test_ignored(config: &config, testfile: &istr) -> bool {
|
||||||
let found = false;
|
let found = false;
|
||||||
for each ln: istr in iter_header(testfile) {
|
for each ln: istr in iter_header(testfile) {
|
||||||
// FIXME: Can't return or break from iterator
|
// FIXME: Can't return or break from iterator
|
||||||
found = found || parse_name_directive(ln, ~"xfail-test");
|
found = found
|
||||||
|
|| parse_name_directive(ln, ~"xfail-"
|
||||||
|
+ config.stage_id);
|
||||||
if (config.mode == common::mode_pretty) {
|
if (config.mode == common::mode_pretty) {
|
||||||
found = found || parse_name_directive(ln, ~"xfail-pretty");
|
found = found
|
||||||
|
|| parse_name_directive(ln, ~"xfail-pretty");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
ret found;
|
ret found;
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
// xfail-test
|
// xfail-stage1
|
||||||
|
// xfail-stage2
|
||||||
|
// xfail-stage3
|
||||||
// Fail statements without arguments need to be disambiguated in
|
// Fail statements without arguments need to be disambiguated in
|
||||||
// certain positions
|
// certain positions
|
||||||
// error-pattern:explicit-failure
|
// error-pattern:explicit-failure
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
// xfail-test
|
// xfail-stage1
|
||||||
|
// xfail-stage2
|
||||||
|
// xfail-stage3
|
||||||
io fn main() {
|
io fn main() {
|
||||||
let port<int> po = port();
|
let port<int> po = port();
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
// xfail-test
|
// xfail-stage1
|
||||||
|
// xfail-stage2
|
||||||
|
// xfail-stage3
|
||||||
|
|
||||||
/*
|
/*
|
||||||
This program should hang on the po |> r line.
|
This program should hang on the po |> r line.
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
// xfail-test
|
// xfail-stage1
|
||||||
|
// xfail-stage2
|
||||||
|
// xfail-stage3
|
||||||
// -*- rust -*-
|
// -*- rust -*-
|
||||||
|
|
||||||
use std;
|
use std;
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
// xfail-test
|
// xfail-stage1
|
||||||
|
// xfail-stage2
|
||||||
|
// xfail-stage3
|
||||||
fn altsimple(any x) {
|
fn altsimple(any x) {
|
||||||
alt type (f) {
|
alt type (f) {
|
||||||
case (int i) { print("int"); }
|
case (int i) { print("int"); }
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
//xfail-test
|
//xfail-stage1
|
||||||
|
//xfail-stage2
|
||||||
|
//xfail-stage3
|
||||||
use std;
|
use std;
|
||||||
|
|
||||||
// This is failing not because it's an anonymous object from nothing
|
// This is failing not because it's an anonymous object from nothing
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
//xfail-test
|
//xfail-stage1
|
||||||
|
//xfail-stage2
|
||||||
|
//xfail-stage3
|
||||||
|
|
||||||
// Test case for issue #822.
|
// Test case for issue #822.
|
||||||
fn main() {
|
fn main() {
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
//xfail-test
|
//xfail-stage1
|
||||||
|
//xfail-stage2
|
||||||
|
//xfail-stage3
|
||||||
use std;
|
use std;
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
|
|
|
@ -3,7 +3,9 @@ Can we bind native things?
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//xfail-stage0
|
//xfail-stage0
|
||||||
//xfail-test
|
//xfail-stage1
|
||||||
|
//xfail-stage2
|
||||||
|
//xfail-stage3
|
||||||
|
|
||||||
native "rust" mod rustrt {
|
native "rust" mod rustrt {
|
||||||
fn task_yield();
|
fn task_yield();
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
//xfail-stage0
|
//xfail-stage0
|
||||||
//xfail-test
|
//xfail-stage1
|
||||||
|
//xfail-stage2
|
||||||
|
//xfail-stage3
|
||||||
|
|
||||||
use std;
|
use std;
|
||||||
import std::task;
|
import std::task;
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
// xfail-test
|
// xfail-stage1
|
||||||
|
// xfail-stage2
|
||||||
|
// xfail-stage3
|
||||||
|
|
||||||
// Test case for issue #758.
|
// Test case for issue #758.
|
||||||
obj foo() { fn f() { } }
|
obj foo() { fn f() { } }
|
||||||
|
|
|
@ -2,7 +2,9 @@
|
||||||
A simple way to make sure threading works. This should use all the
|
A simple way to make sure threading works. This should use all the
|
||||||
CPU cycles an any machines that we're likely to see for a while.
|
CPU cycles an any machines that we're likely to see for a while.
|
||||||
*/
|
*/
|
||||||
// xfail-test
|
// xfail-stage1
|
||||||
|
// xfail-stage2
|
||||||
|
// xfail-stage3
|
||||||
|
|
||||||
use std;
|
use std;
|
||||||
import std::task::join;
|
import std::task::join;
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
//xfail-test
|
//xfail-stage1
|
||||||
|
//xfail-stage2
|
||||||
|
//xfail-stage3
|
||||||
|
|
||||||
// Test case for issue #115.
|
// Test case for issue #115.
|
||||||
type base =
|
type base =
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
// xfail-test
|
// xfail-stage1
|
||||||
|
// xfail-stage2
|
||||||
|
// xfail-stage3
|
||||||
// -*- rust -*-
|
// -*- rust -*-
|
||||||
use std;
|
use std;
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
// xfail-test
|
// xfail-stage1
|
||||||
|
// xfail-stage2
|
||||||
|
// xfail-stage3
|
||||||
// -*- rust -*-
|
// -*- rust -*-
|
||||||
|
|
||||||
native mod libc = target_libc {
|
native mod libc = target_libc {
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
// xfail-test
|
// xfail-stage1
|
||||||
|
// xfail-stage2
|
||||||
|
// xfail-stage3
|
||||||
// -*- rust -*-
|
// -*- rust -*-
|
||||||
|
|
||||||
native "rust" mod rustrt {
|
native "rust" mod rustrt {
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
// xfail-test
|
// xfail-stage1
|
||||||
|
// xfail-stage2
|
||||||
|
// xfail-stage3
|
||||||
obj big() {
|
obj big() {
|
||||||
fn one() -> int { ret 1; }
|
fn one() -> int { ret 1; }
|
||||||
fn two() -> int { ret 2; }
|
fn two() -> int { ret 2; }
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
// xfail-test
|
// xfail-stage1
|
||||||
|
// xfail-stage2
|
||||||
|
// xfail-stage3
|
||||||
// This checks that preemption works.
|
// This checks that preemption works.
|
||||||
|
|
||||||
fn starve_main(alive: chan<int>) {
|
fn starve_main(alive: chan<int>) {
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
// xfail-test
|
// xfail-stage1
|
||||||
|
// xfail-stage2
|
||||||
|
// xfail-stage3
|
||||||
use std;
|
use std;
|
||||||
import std::sio;
|
import std::sio;
|
||||||
import std::task;
|
import std::task;
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
// Seems to hang for long periods, probably with RUST_THREADS > 1. Issue #810
|
// Seems to hang for long periods, probably with RUST_THREADS > 1. Issue #810
|
||||||
// xfail-test
|
// xfail-stage1
|
||||||
|
// xfail-stage2
|
||||||
|
// xfail-stage3
|
||||||
|
|
||||||
use std;
|
use std;
|
||||||
import std::sio;
|
import std::sio;
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
// xfail-test
|
// xfail-stage1
|
||||||
|
// xfail-stage2
|
||||||
|
// xfail-stage3
|
||||||
use std;
|
use std;
|
||||||
import std::sio;
|
import std::sio;
|
||||||
import std::task;
|
import std::task;
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
// xfail-test
|
// xfail-stage1
|
||||||
|
// xfail-stage2
|
||||||
|
// xfail-stage3
|
||||||
use std;
|
use std;
|
||||||
import std::sio;
|
import std::sio;
|
||||||
import std::net;
|
import std::net;
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
// xfail-test
|
// xfail-stage1
|
||||||
|
// xfail-stage2
|
||||||
|
// xfail-stage3
|
||||||
use std;
|
use std;
|
||||||
import std::sio;
|
import std::sio;
|
||||||
import std::task;
|
import std::task;
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
// xfail-test
|
// xfail-stage1
|
||||||
|
// xfail-stage2
|
||||||
|
// xfail-stage3
|
||||||
fn main() {
|
fn main() {
|
||||||
auto s = #shell { uname -a };
|
auto s = #shell { uname -a };
|
||||||
log s;
|
log s;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// Temporarily xfailing, because something is wrong.
|
// Temporarily xfailing, because something is wrong.
|
||||||
// xfail-test
|
// xfail-stage2
|
||||||
use std;
|
use std;
|
||||||
|
|
||||||
import std::comm;
|
import std::comm;
|
||||||
|
|
|
@ -1,7 +1,9 @@
|
||||||
// FIXME: this test is xfailed until sending strings is legal again.
|
// FIXME: this test is xfailed until sending strings is legal again.
|
||||||
|
|
||||||
//xfail-stage0
|
//xfail-stage0
|
||||||
//xfail-test
|
//xfail-stage1
|
||||||
|
//xfail-stage2
|
||||||
|
//xfail-stage3
|
||||||
|
|
||||||
use std;
|
use std;
|
||||||
import std::task;
|
import std::task;
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// xfail-stage3
|
||||||
use std;
|
use std;
|
||||||
import std::comm;
|
import std::comm;
|
||||||
import std::task;
|
import std::task;
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
// Broken under win
|
// Broken under win
|
||||||
// xfail-test
|
// xfail-stage1
|
||||||
|
// xfail-stage2
|
||||||
|
// xfail-stage3
|
||||||
|
|
||||||
use std;
|
use std;
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,9 @@
|
||||||
|
|
||||||
// FIXME: This won't work until we can compare resources
|
// FIXME: This won't work until we can compare resources
|
||||||
// xfail-stage0
|
// xfail-stage0
|
||||||
// xfail-test
|
// xfail-stage1
|
||||||
|
// xfail-stage2
|
||||||
|
// xfail-stage3
|
||||||
|
|
||||||
use std;
|
use std;
|
||||||
import std::task;
|
import std::task;
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
// xfail-test
|
// xfail-stage1
|
||||||
|
// xfail-stage2
|
||||||
|
// xfail-stage3
|
||||||
|
|
||||||
// Create a task that is supervised by another task,
|
// Create a task that is supervised by another task,
|
||||||
// join the supervised task from the supervising task,
|
// join the supervised task from the supervising task,
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
// xfail-test
|
// xfail-stage1
|
||||||
|
// xfail-stage2
|
||||||
|
// xfail-stage3
|
||||||
import std::sys::rustrt::size_of;
|
import std::sys::rustrt::size_of;
|
||||||
use std;
|
use std;
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
// xfail-test
|
// xfail-stage1
|
||||||
|
// xfail-stage2
|
||||||
|
// xfail-stage3
|
||||||
use std;
|
use std;
|
||||||
use libc;
|
use libc;
|
||||||
use zed(name = "std");
|
use zed(name = "std");
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
// xfail-test
|
// xfail-stage1
|
||||||
|
// xfail-stage2
|
||||||
|
// xfail-stage3
|
||||||
// -*- rust -*-
|
// -*- rust -*-
|
||||||
|
|
||||||
use std (name = "std",
|
use std (name = "std",
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
// xfail-test
|
// xfail-stage1
|
||||||
|
// xfail-stage2
|
||||||
|
// xfail-stage3
|
||||||
fn main() {
|
fn main() {
|
||||||
let vec<int> v = [1,2,3,4,5];
|
let vec<int> v = [1,2,3,4,5];
|
||||||
auto v2 = v.(1,2);
|
auto v2 = v.(1,2);
|
||||||
|
|
Loading…
Reference in New Issue