1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00

test_debuginfo.pl: Make failures easier to debug by printing the debugger

output.

llvm-svn: 201809
This commit is contained in:
Adrian Prantl 2014-02-20 19:55:44 +00:00
parent e92f08073b
commit 8bcd165ba7

View File

@ -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 {