mirror of
https://github.com/RPCS3/llvm.git
synced 2024-11-28 22:20:43 +00:00
test_debuginfo.pl: Make failures easier to debug by printing the debugger
output. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201809 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
fb4b4c166e
commit
22559cc099
@ -71,6 +71,8 @@ system("$my_debugger $debugger_options $debugger_script_file $executable_file >
|
|||||||
# validate output.
|
# validate output.
|
||||||
system("FileCheck", "-input-file", "$output_file", "$testcase_file");
|
system("FileCheck", "-input-file", "$output_file", "$testcase_file");
|
||||||
if ($?>>8 == 1) {
|
if ($?>>8 == 1) {
|
||||||
|
print "Debugger output was:\n";
|
||||||
|
system("cat", "$output_file");
|
||||||
exit 1;
|
exit 1;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Loading…
Reference in New Issue
Block a user