Skip to content

Commit 6152425

Browse files
bleibigbrson
authored andcommitted
More descriptive error messages for debug info tests
1 parent f1928d8 commit 6152425

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/compiletest/runtest.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -276,8 +276,8 @@ fn run_debuginfo_test(config: config, props: TestProps, testfile: &Path) {
276276
}
277277
}
278278
if i != num_check_lines {
279-
fatal(fmt!("line not found in debugger output: %s",
280-
props.check_lines[i]));
279+
fatal_ProcRes(fmt!("line not found in debugger output: %s"
280+
props.check_lines[i]), ProcRes);
281281
}
282282
}
283283
}

0 commit comments

Comments
 (0)