Commit a64dc24a authored by mrowe@apple.com's avatar mrowe@apple.com

Include some information about the error when we die.

* Scripts/run-webkit-tests:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@46615 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 4a57f714
2009-07-30 Mark Rowe <mrowe@apple.com>
Include some information about the error when we die.
* Scripts/run-webkit-tests:
2009-07-30 Mark Rowe <mrowe@apple.com>
Ensure that the path exists before writing results to it.
......
......@@ -1161,7 +1161,7 @@ sub countAndPrintLeaks($$$)
sub writeToFile($$)
{
my ($filePath, $contents) = @_;
open NEWFILE, ">", "$filePath" or die "could not create $filePath\n";
open NEWFILE, ">", "$filePath" or die "Could not create $filePath. $!\n";
print NEWFILE $contents;
close NEWFILE;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment