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)
|
||||
|
||||
PP_INPUTS_FILTERED = $(shell echo $(PP_INPUTS) | xargs grep -L \
|
||||
"no-reformat\|xfail-pretty\|xfail-test")
|
||||
"no-reformat\|xfail-pretty\|xfail-stage2")
|
||||
endif
|
||||
|
||||
reformat: $(SREQ1)
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
// xfail-test
|
||||
// xfail-stage1
|
||||
// xfail-stage2
|
||||
// xfail-stage3
|
||||
// error-pattern: attempted dynamic environment-capture
|
||||
fn foo<T>() {
|
||||
obj bar(b: T) { }
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
// -*- rust -*-
|
||||
// xfail-test
|
||||
// xfail-stage1
|
||||
// xfail-stage2
|
||||
// xfail-stage3
|
||||
// error-pattern:Unsatisfied precondition
|
||||
|
||||
tag list { cons(int, @list); nil; }
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
// xfail-test
|
||||
// xfail-stage1
|
||||
// xfail-stage2
|
||||
// xfail-stage3
|
||||
// -*- rust -*-
|
||||
|
||||
// error-pattern: dead
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
// xfail-test
|
||||
// xfail-stage1
|
||||
// xfail-stage2
|
||||
// xfail-stage3
|
||||
// -*- rust -*-
|
||||
|
||||
// error-pattern: dead
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
// xfail-test
|
||||
// xfail-stage1
|
||||
// xfail-stage2
|
||||
// xfail-stage3
|
||||
// -*- rust -*-
|
||||
|
||||
// error-pattern: tag of infinite size
|
||||
|
|
|
@ -59,9 +59,12 @@ fn is_test_ignored(config: &config, testfile: &istr) -> bool {
|
|||
let found = false;
|
||||
for each ln: istr in iter_header(testfile) {
|
||||
// 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) {
|
||||
found = found || parse_name_directive(ln, ~"xfail-pretty");
|
||||
found = found
|
||||
|| parse_name_directive(ln, ~"xfail-pretty");
|
||||
}
|
||||
}
|
||||
ret found;
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
// xfail-test
|
||||
// xfail-stage1
|
||||
// xfail-stage2
|
||||
// xfail-stage3
|
||||
// Fail statements without arguments need to be disambiguated in
|
||||
// certain positions
|
||||
// error-pattern:explicit-failure
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
// xfail-test
|
||||
// xfail-stage1
|
||||
// xfail-stage2
|
||||
// xfail-stage3
|
||||
io fn main() {
|
||||
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.
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
// xfail-test
|
||||
// xfail-stage1
|
||||
// xfail-stage2
|
||||
// xfail-stage3
|
||||
// -*- rust -*-
|
||||
|
||||
use std;
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
// xfail-test
|
||||
// xfail-stage1
|
||||
// xfail-stage2
|
||||
// xfail-stage3
|
||||
fn altsimple(any x) {
|
||||
alt type (f) {
|
||||
case (int i) { print("int"); }
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
//xfail-test
|
||||
//xfail-stage1
|
||||
//xfail-stage2
|
||||
//xfail-stage3
|
||||
use std;
|
||||
|
||||
// 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.
|
||||
fn main() {
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
//xfail-test
|
||||
//xfail-stage1
|
||||
//xfail-stage2
|
||||
//xfail-stage3
|
||||
use std;
|
||||
|
||||
fn main() {
|
||||
|
|
|
@ -3,7 +3,9 @@ Can we bind native things?
|
|||
*/
|
||||
|
||||
//xfail-stage0
|
||||
//xfail-test
|
||||
//xfail-stage1
|
||||
//xfail-stage2
|
||||
//xfail-stage3
|
||||
|
||||
native "rust" mod rustrt {
|
||||
fn task_yield();
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
//xfail-stage0
|
||||
//xfail-test
|
||||
//xfail-stage1
|
||||
//xfail-stage2
|
||||
//xfail-stage3
|
||||
|
||||
use std;
|
||||
import std::task;
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
// xfail-test
|
||||
// xfail-stage1
|
||||
// xfail-stage2
|
||||
// xfail-stage3
|
||||
|
||||
// Test case for issue #758.
|
||||
obj foo() { fn f() { } }
|
||||
|
|
|
@ -2,7 +2,9 @@
|
|||
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.
|
||||
*/
|
||||
// xfail-test
|
||||
// xfail-stage1
|
||||
// xfail-stage2
|
||||
// xfail-stage3
|
||||
|
||||
use std;
|
||||
import std::task::join;
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
//xfail-test
|
||||
//xfail-stage1
|
||||
//xfail-stage2
|
||||
//xfail-stage3
|
||||
|
||||
// Test case for issue #115.
|
||||
type base =
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
// xfail-test
|
||||
// xfail-stage1
|
||||
// xfail-stage2
|
||||
// xfail-stage3
|
||||
// -*- rust -*-
|
||||
use std;
|
||||
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
// xfail-test
|
||||
// xfail-stage1
|
||||
// xfail-stage2
|
||||
// xfail-stage3
|
||||
// -*- rust -*-
|
||||
|
||||
native mod libc = target_libc {
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
// xfail-test
|
||||
// xfail-stage1
|
||||
// xfail-stage2
|
||||
// xfail-stage3
|
||||
// -*- rust -*-
|
||||
|
||||
native "rust" mod rustrt {
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
// xfail-test
|
||||
// xfail-stage1
|
||||
// xfail-stage2
|
||||
// xfail-stage3
|
||||
obj big() {
|
||||
fn one() -> int { ret 1; }
|
||||
fn two() -> int { ret 2; }
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
// xfail-test
|
||||
// xfail-stage1
|
||||
// xfail-stage2
|
||||
// xfail-stage3
|
||||
// This checks that preemption works.
|
||||
|
||||
fn starve_main(alive: chan<int>) {
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
// xfail-test
|
||||
// xfail-stage1
|
||||
// xfail-stage2
|
||||
// xfail-stage3
|
||||
use std;
|
||||
import std::sio;
|
||||
import std::task;
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
// Seems to hang for long periods, probably with RUST_THREADS > 1. Issue #810
|
||||
// xfail-test
|
||||
// xfail-stage1
|
||||
// xfail-stage2
|
||||
// xfail-stage3
|
||||
|
||||
use std;
|
||||
import std::sio;
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
// xfail-test
|
||||
// xfail-stage1
|
||||
// xfail-stage2
|
||||
// xfail-stage3
|
||||
use std;
|
||||
import std::sio;
|
||||
import std::task;
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
// xfail-test
|
||||
// xfail-stage1
|
||||
// xfail-stage2
|
||||
// xfail-stage3
|
||||
use std;
|
||||
import std::sio;
|
||||
import std::net;
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
// xfail-test
|
||||
// xfail-stage1
|
||||
// xfail-stage2
|
||||
// xfail-stage3
|
||||
use std;
|
||||
import std::sio;
|
||||
import std::task;
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
// xfail-test
|
||||
// xfail-stage1
|
||||
// xfail-stage2
|
||||
// xfail-stage3
|
||||
fn main() {
|
||||
auto s = #shell { uname -a };
|
||||
log s;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// Temporarily xfailing, because something is wrong.
|
||||
// xfail-test
|
||||
// xfail-stage2
|
||||
use std;
|
||||
|
||||
import std::comm;
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
// FIXME: this test is xfailed until sending strings is legal again.
|
||||
|
||||
//xfail-stage0
|
||||
//xfail-test
|
||||
//xfail-stage1
|
||||
//xfail-stage2
|
||||
//xfail-stage3
|
||||
|
||||
use std;
|
||||
import std::task;
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// xfail-stage3
|
||||
use std;
|
||||
import std::comm;
|
||||
import std::task;
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
// Broken under win
|
||||
// xfail-test
|
||||
// xfail-stage1
|
||||
// xfail-stage2
|
||||
// xfail-stage3
|
||||
|
||||
use std;
|
||||
|
||||
|
|
|
@ -4,7 +4,9 @@
|
|||
|
||||
// FIXME: This won't work until we can compare resources
|
||||
// xfail-stage0
|
||||
// xfail-test
|
||||
// xfail-stage1
|
||||
// xfail-stage2
|
||||
// xfail-stage3
|
||||
|
||||
use std;
|
||||
import std::task;
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
// xfail-test
|
||||
// xfail-stage1
|
||||
// xfail-stage2
|
||||
// xfail-stage3
|
||||
|
||||
// Create a task that is supervised by another 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;
|
||||
use std;
|
||||
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
// xfail-test
|
||||
// xfail-stage1
|
||||
// xfail-stage2
|
||||
// xfail-stage3
|
||||
use std;
|
||||
use libc;
|
||||
use zed(name = "std");
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
// xfail-test
|
||||
// xfail-stage1
|
||||
// xfail-stage2
|
||||
// xfail-stage3
|
||||
// -*- rust -*-
|
||||
|
||||
use std (name = "std",
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
// xfail-test
|
||||
// xfail-stage1
|
||||
// xfail-stage2
|
||||
// xfail-stage3
|
||||
fn main() {
|
||||
let vec<int> v = [1,2,3,4,5];
|
||||
auto v2 = v.(1,2);
|
||||
|
|
Loading…
Reference in New Issue