forked from OSchip/llvm-project
test_debuginfo.pl: Make failures easier to debug by printing the debugger
output. llvm-svn: 201809
This commit is contained in:
parent
96e99556ad
commit
4b54f20e80
|
@ -71,6 +71,8 @@ system("$my_debugger $debugger_options $debugger_script_file $executable_file >
|
|||
# validate output.
|
||||
system("FileCheck", "-input-file", "$output_file", "$testcase_file");
|
||||
if ($?>>8 == 1) {
|
||||
print "Debugger output was:\n";
|
||||
system("cat", "$output_file");
|
||||
exit 1;
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Reference in New Issue