Skip to content

Commit f28bbb2

Browse files
committed
Begin valgrinding some run-fail tests that unwind correctly
Issue #236
1 parent f99cf2d commit f28bbb2

File tree

5 files changed

+0
-5
lines changed

5 files changed

+0
-5
lines changed
-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
// error-pattern:wooooo
2-
// no-valgrind
32
fn main() { let a = 1; if 1 == 1 { a = 2; } fail "woooo" + "o"; }

src/test/run-fail/fmt-fail.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// error-pattern:meh
2-
// no-valgrind
32
use std;
43

54
fn main() { let str_var: str = "meh"; fail #fmt["%s", str_var]; }

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

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
// error-pattern:1 == 2
44
// no-valgrind
5-
65
use std;
76
import std::task;
87
import std::comm::port;

src/test/run-fail/vec-overrun.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// -*- rust -*-
22

33
// error-pattern:bounds check
4-
// no-valgrind
54
fn main() {
65
let v: [int] = [10];
76
let x: int = 0;

src/test/run-fail/vec-underrun.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// -*- rust -*-
22

33
// error-pattern:bounds check
4-
// no-valgrind
54
fn main() {
65
let v: [int] = [10, 20];
76
let x: int = 0;

0 commit comments

Comments
 (0)