Skip to content

Commit cc2a514

Browse files
committed
test: Enable more tests
1 parent 7a4fb08 commit cc2a514

File tree

12 files changed

+2
-30
lines changed

12 files changed

+2
-30
lines changed

src/test/compile-fail/writing-to-immutable-rec.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
// xfail-stage0
2-
// xfail-stage1
3-
// xfail-stage2
4-
// error-pattern: writing to immutable type
1+
// error-pattern: assignment to immutable field
52
fn main() {
63
let rec(int x) r = rec(x=1);
74
r.x = 6;

src/test/compile-fail/writing-to-immutable-tup.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
// xfail-stage0
2-
// xfail-stage1
3-
// xfail-stage2
4-
// error-pattern: writing to immutable type
1+
// error-pattern: assignment to immutable field
52
fn main() {
63
let tup(int) t = tup(1);
74
t._0 = 5;

src/test/run-fail/linked-failure.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
// xfail-stage0
2-
// xfail-stage1
3-
// xfail-stage2
41
// -*- rust -*-
52

63
// error-pattern:1 == 2

src/test/run-pass/basic-1.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
// xfail-stage0
2-
// xfail-stage1
3-
// xfail-stage2
42
// -*- rust -*-
53

64
fn a(chan[int] c) {

src/test/run-pass/basic-2.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
// xfail-stage0
2-
// xfail-stage1
3-
// xfail-stage2
42
// -*- rust -*-
53

64
fn a(chan[int] c) {

src/test/run-pass/basic.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
// xfail-stage0
2-
// xfail-stage1
3-
// xfail-stage2
42
// -*- rust -*-
53

64
fn a(chan[int] c) {

src/test/run-pass/child-outlives-parent.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33

44
// xfail-stage0
5-
// xfail-stage1
6-
// xfail-stage2
75
// Reported as issue #126, child leaks the string.
86
fn child2(str s) { }
97

src/test/run-pass/comm.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
// xfail-stage0
2-
// xfail-stage1
3-
// xfail-stage2
42
// -*- rust -*-
53

64
fn main() {

src/test/run-pass/lazychan.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
// xfail-stage0
2-
// xfail-stage1
3-
// xfail-stage2
42
// -*- rust -*-
53

64
fn main() {

src/test/run-pass/spawn-types.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@
55
*/
66

77
// xfail-stage0
8-
// xfail-stage1
9-
// xfail-stage2
10-
// xfail-stage3
118

129
use std;
1310

src/test/run-pass/task-comm-0.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
// xfail-stage0
2-
// xfail-stage1
3-
// xfail-stage2
42
fn main() -> () {
53
test05();
64
}

src/test/run-pass/task-life-0.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
// xfail-stage0
2-
// xfail-stage1
3-
// xfail-stage2
42
fn main() -> () {
53
spawn child("Hello");
64
}

0 commit comments

Comments
 (0)