More descriptive error messages for debug info tests

This commit is contained in:
Brian Leibig 2013-03-01 13:34:12 -05:00 committed by Brian Anderson
parent f1928d8e2c
commit 6152425180

View File

@ -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);
}
}
}