Skip to content

Commit 844fb5a

Browse files
committed
---
yaml --- r: 4921 b: refs/heads/master c: 5b5689d h: refs/heads/master i: 4919: 242e747 v: v3
1 parent 97e5fa0 commit 844fb5a

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: b07968dda47f338a61993b7088c24362f76fdad0
2+
refs/heads/master: 5b5689d4ddbc75c34c5c9c70fdbc27b351a7a2f4

trunk/src/test/compiletest/runtest.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,10 @@ fn check_error_patterns(props: &test_props, testfile: &str,
180180
fatal("no error pattern specified in " + testfile);
181181
}
182182

183+
if procres.status == 0 {
184+
fatal("process did not return an error status");
185+
}
186+
183187
let next_err_idx = 0u;
184188
let next_err_pat = props.error_patterns[next_err_idx];
185189
for line: str in str::split(procres.stdout, '\n' as u8) {

0 commit comments

Comments
 (0)