diff options
author | Adrian Prantl <aprantl@apple.com> | 2014-02-20 19:55:44 +0000 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2014-02-20 19:55:44 +0000 |
commit | 22559cc0994c6bd7cabbe4e234be183a067b933b (patch) | |
tree | 654ba2ca286c27d307aac2b79738bd54ef9579bc /utils | |
parent | fb4b4c166e4cf028c8a11810cc158db0edf53ac7 (diff) | |
download | llvm-22559cc0994c6bd7cabbe4e234be183a067b933b.tar.gz llvm-22559cc0994c6bd7cabbe4e234be183a067b933b.tar.bz2 llvm-22559cc0994c6bd7cabbe4e234be183a067b933b.tar.xz |
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
Diffstat (limited to 'utils')
-rwxr-xr-x | utils/test_debuginfo.pl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/test_debuginfo.pl b/utils/test_debuginfo.pl index a6b6137c1c..aaf90d9546 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 { |