]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - opencl/llvm.git/blobdiff - utils/test_debuginfo.pl
test_debuginfo.pl: Make failures easier to debug by printing the debugger
[opencl/llvm.git] / utils / test_debuginfo.pl
index a6b6137c1cd2b709f999539dafa712c809f55726..aaf90d95468cb91cc3860ba056778c499eaf6c6f 100755 (executable)
@@ -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 {