From 61524251800ba5408166b45ef640f87da965dd73 Mon Sep 17 00:00:00 2001 From: Brian Leibig Date: Fri, 1 Mar 2013 13:34:12 -0500 Subject: [PATCH] More descriptive error messages for debug info tests --- src/compiletest/runtest.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/compiletest/runtest.rs b/src/compiletest/runtest.rs index 0f72f956fa0..a52075cba12 100644 --- a/src/compiletest/runtest.rs +++ b/src/compiletest/runtest.rs @@ -276,8 +276,8 @@ fn run_debuginfo_test(config: config, props: TestProps, testfile: &Path) { } } if i != num_check_lines { - fatal(fmt!("line not found in debugger output: %s", - props.check_lines[i])); + fatal_ProcRes(fmt!("line not found in debugger output: %s" + props.check_lines[i]), ProcRes); } } }