parent
c36d29c1dc
commit
574194f6bc
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-stage2")
|
"no-reformat\|xfail-pretty\|xfail-test")
|
||||||
endif
|
endif
|
||||||
|
|
||||||
reformat: $(SREQ1)
|
reformat: $(SREQ1)
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
// xfail-stage1
|
// xfail-test
|
||||||
// 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,7 +1,5 @@
|
|||||||
// -*- rust -*-
|
// -*- rust -*-
|
||||||
// xfail-stage1
|
// xfail-test
|
||||||
// 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,6 +1,4 @@
|
|||||||
// xfail-stage1
|
// xfail-test
|
||||||
// xfail-stage2
|
|
||||||
// xfail-stage3
|
|
||||||
// -*- rust -*-
|
// -*- rust -*-
|
||||||
|
|
||||||
// error-pattern: dead
|
// error-pattern: dead
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
// xfail-stage1
|
// xfail-test
|
||||||
// xfail-stage2
|
|
||||||
// xfail-stage3
|
|
||||||
// -*- rust -*-
|
// -*- rust -*-
|
||||||
|
|
||||||
// error-pattern: dead
|
// error-pattern: dead
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
// xfail-stage1
|
// xfail-test
|
||||||
// xfail-stage2
|
|
||||||
// xfail-stage3
|
|
||||||
// -*- rust -*-
|
// -*- rust -*-
|
||||||
|
|
||||||
// error-pattern: tag of infinite size
|
// error-pattern: tag of infinite size
|
||||||
|
@ -59,12 +59,9 @@ 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
|
found = found || parse_name_directive(ln, ~"xfail-test");
|
||||||
|| parse_name_directive(ln, ~"xfail-"
|
|
||||||
+ config.stage_id);
|
|
||||||
if (config.mode == common::mode_pretty) {
|
if (config.mode == common::mode_pretty) {
|
||||||
found = found
|
found = found || parse_name_directive(ln, ~"xfail-pretty");
|
||||||
|| parse_name_directive(ln, ~"xfail-pretty");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
ret found;
|
ret found;
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
// xfail-stage1
|
// xfail-test
|
||||||
// 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,6 +1,4 @@
|
|||||||
// xfail-stage1
|
// xfail-test
|
||||||
// xfail-stage2
|
|
||||||
// xfail-stage3
|
|
||||||
io fn main() {
|
io fn main() {
|
||||||
let port<int> po = port();
|
let port<int> po = port();
|
||||||
|
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
// xfail-stage1
|
// xfail-test
|
||||||
// xfail-stage2
|
|
||||||
// xfail-stage3
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
This program should hang on the po |> r line.
|
This program should hang on the po |> r line.
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
// xfail-stage1
|
// xfail-test
|
||||||
// xfail-stage2
|
|
||||||
// xfail-stage3
|
|
||||||
// -*- rust -*-
|
// -*- rust -*-
|
||||||
|
|
||||||
use std;
|
use std;
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
// xfail-stage1
|
// xfail-test
|
||||||
// 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,6 +1,4 @@
|
|||||||
//xfail-stage1
|
//xfail-test
|
||||||
//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,6 +1,4 @@
|
|||||||
//xfail-stage1
|
//xfail-test
|
||||||
//xfail-stage2
|
|
||||||
//xfail-stage3
|
|
||||||
|
|
||||||
// Test case for issue #822.
|
// Test case for issue #822.
|
||||||
fn main() {
|
fn main() {
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
//xfail-stage1
|
//xfail-test
|
||||||
//xfail-stage2
|
|
||||||
//xfail-stage3
|
|
||||||
use std;
|
use std;
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
|
@ -3,9 +3,7 @@ Can we bind native things?
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
//xfail-stage0
|
//xfail-stage0
|
||||||
//xfail-stage1
|
//xfail-test
|
||||||
//xfail-stage2
|
|
||||||
//xfail-stage3
|
|
||||||
|
|
||||||
native "rust" mod rustrt {
|
native "rust" mod rustrt {
|
||||||
fn task_yield();
|
fn task_yield();
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
//xfail-stage0
|
//xfail-stage0
|
||||||
//xfail-stage1
|
//xfail-test
|
||||||
//xfail-stage2
|
|
||||||
//xfail-stage3
|
|
||||||
|
|
||||||
use std;
|
use std;
|
||||||
import std::task;
|
import std::task;
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
// xfail-stage1
|
// xfail-test
|
||||||
// xfail-stage2
|
|
||||||
// xfail-stage3
|
|
||||||
|
|
||||||
// Test case for issue #758.
|
// Test case for issue #758.
|
||||||
obj foo() { fn f() { } }
|
obj foo() { fn f() { } }
|
||||||
|
@ -2,9 +2,7 @@
|
|||||||
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-stage1
|
// xfail-test
|
||||||
// xfail-stage2
|
|
||||||
// xfail-stage3
|
|
||||||
|
|
||||||
use std;
|
use std;
|
||||||
import std::task::join;
|
import std::task::join;
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
//xfail-stage1
|
//xfail-test
|
||||||
//xfail-stage2
|
|
||||||
//xfail-stage3
|
|
||||||
|
|
||||||
// Test case for issue #115.
|
// Test case for issue #115.
|
||||||
type base =
|
type base =
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
// xfail-stage1
|
// xfail-test
|
||||||
// xfail-stage2
|
|
||||||
// xfail-stage3
|
|
||||||
// -*- rust -*-
|
// -*- rust -*-
|
||||||
use std;
|
use std;
|
||||||
|
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
// xfail-stage1
|
// xfail-test
|
||||||
// xfail-stage2
|
|
||||||
// xfail-stage3
|
|
||||||
// -*- rust -*-
|
// -*- rust -*-
|
||||||
|
|
||||||
native mod libc = target_libc {
|
native mod libc = target_libc {
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
// xfail-stage1
|
// xfail-test
|
||||||
// xfail-stage2
|
|
||||||
// xfail-stage3
|
|
||||||
// -*- rust -*-
|
// -*- rust -*-
|
||||||
|
|
||||||
native "rust" mod rustrt {
|
native "rust" mod rustrt {
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
// xfail-stage1
|
// xfail-test
|
||||||
// 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,6 +1,4 @@
|
|||||||
// xfail-stage1
|
// xfail-test
|
||||||
// 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,6 +1,4 @@
|
|||||||
// xfail-stage1
|
// xfail-test
|
||||||
// xfail-stage2
|
|
||||||
// xfail-stage3
|
|
||||||
use std;
|
use std;
|
||||||
import std::sio;
|
import std::sio;
|
||||||
import std::task;
|
import std::task;
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
// 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-stage1
|
// xfail-test
|
||||||
// xfail-stage2
|
|
||||||
// xfail-stage3
|
|
||||||
|
|
||||||
use std;
|
use std;
|
||||||
import std::sio;
|
import std::sio;
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
// xfail-stage1
|
// xfail-test
|
||||||
// xfail-stage2
|
|
||||||
// xfail-stage3
|
|
||||||
use std;
|
use std;
|
||||||
import std::sio;
|
import std::sio;
|
||||||
import std::task;
|
import std::task;
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
// xfail-stage1
|
// xfail-test
|
||||||
// xfail-stage2
|
|
||||||
// xfail-stage3
|
|
||||||
use std;
|
use std;
|
||||||
import std::sio;
|
import std::sio;
|
||||||
import std::net;
|
import std::net;
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
// xfail-stage1
|
// xfail-test
|
||||||
// xfail-stage2
|
|
||||||
// xfail-stage3
|
|
||||||
use std;
|
use std;
|
||||||
import std::sio;
|
import std::sio;
|
||||||
import std::task;
|
import std::task;
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
// xfail-stage1
|
// xfail-test
|
||||||
// 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-stage2
|
// xfail-test
|
||||||
use std;
|
use std;
|
||||||
|
|
||||||
import std::comm;
|
import std::comm;
|
||||||
|
@ -1,9 +1,7 @@
|
|||||||
// 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-stage1
|
//xfail-test
|
||||||
//xfail-stage2
|
|
||||||
//xfail-stage3
|
|
||||||
|
|
||||||
use std;
|
use std;
|
||||||
import std::task;
|
import std::task;
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
// xfail-stage3
|
|
||||||
use std;
|
use std;
|
||||||
import std::comm;
|
import std::comm;
|
||||||
import std::task;
|
import std::task;
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
// Broken under win
|
// Broken under win
|
||||||
// xfail-stage1
|
// xfail-test
|
||||||
// xfail-stage2
|
|
||||||
// xfail-stage3
|
|
||||||
|
|
||||||
use std;
|
use std;
|
||||||
|
|
||||||
|
@ -4,9 +4,7 @@
|
|||||||
|
|
||||||
// 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-stage1
|
// xfail-test
|
||||||
// xfail-stage2
|
|
||||||
// xfail-stage3
|
|
||||||
|
|
||||||
use std;
|
use std;
|
||||||
import std::task;
|
import std::task;
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
// xfail-stage1
|
// xfail-test
|
||||||
// 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,6 +1,4 @@
|
|||||||
// xfail-stage1
|
// xfail-test
|
||||||
// xfail-stage2
|
|
||||||
// xfail-stage3
|
|
||||||
import std::sys::rustrt::size_of;
|
import std::sys::rustrt::size_of;
|
||||||
use std;
|
use std;
|
||||||
|
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
// xfail-stage1
|
// xfail-test
|
||||||
// xfail-stage2
|
|
||||||
// xfail-stage3
|
|
||||||
use std;
|
use std;
|
||||||
use libc;
|
use libc;
|
||||||
use zed(name = "std");
|
use zed(name = "std");
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
// xfail-stage1
|
// xfail-test
|
||||||
// xfail-stage2
|
|
||||||
// xfail-stage3
|
|
||||||
// -*- rust -*-
|
// -*- rust -*-
|
||||||
|
|
||||||
use std (name = "std",
|
use std (name = "std",
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
// xfail-stage1
|
// xfail-test
|
||||||
// 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
Block a user