Skip to content

Commit 10058c4

Browse files
committed
More descriptive error messages for debug info tests
1 parent 8e358f6 commit 10058c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/compiletest/runtest.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -278,8 +278,8 @@ fn run_debuginfo_test(config: config, props: TestProps, testfile: &Path) {
278278
}
279279
}
280280
if i != num_check_lines {
281-
fatal(fmt!("line not found in debugger output: %s",
282-
props.check_lines[i]));
281+
fatal_ProcRes(fmt!("line not found in debugger output: %s"
282+
props.check_lines[i]), ProcRes);
283283
}
284284
}
285285
}

0 commit comments

Comments
 (0)