[llvm] r201809 - test_debuginfo.pl: Make failures easier to debug by printing the debugger
Adrian Prantl
aprantl at apple.com
Thu Feb 20 11:55:44 PST 2014
Author: adrian
Date: Thu Feb 20 13:55:44 2014
New Revision: 201809
URL: http://llvm.org/viewvc/llvm-project?rev=201809&view=rev
Log:
test_debuginfo.pl: Make failures easier to debug by printing the debugger
output.
Modified:
llvm/trunk/utils/test_debuginfo.pl
Modified: llvm/trunk/utils/test_debuginfo.pl
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/test_debuginfo.pl?rev=201809&r1=201808&r2=201809&view=diff
==============================================================================
--- llvm/trunk/utils/test_debuginfo.pl (original)
+++ llvm/trunk/utils/test_debuginfo.pl Thu Feb 20 13:55:44 2014
@@ -71,6 +71,8 @@ system("$my_debugger $debugger_options $
# 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 {
More information about the llvm-commits
mailing list