From: Adrian Prantl Date: Thu, 20 Feb 2014 19:55:44 +0000 (+0000) Subject: test_debuginfo.pl: Make failures easier to debug by printing the debugger X-Git-Tag: android-x86-7.1-r4~64958 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=22559cc0994c6bd7cabbe4e234be183a067b933b;p=android-x86%2Fexternal-llvm.git 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 --- diff --git a/utils/test_debuginfo.pl b/utils/test_debuginfo.pl index a6b6137c1cd..aaf90d95468 100755 --- a/utils/test_debuginfo.pl +++ b/utils/test_debuginfo.pl @@ -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 {