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

Ensure that the path exists before writing results to it.

Hopefully this will make the Windows build bot happy.

* Scripts/run-webkit-tests:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@46613 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 4c080a61
2009-07-30 Mark Rowe <mrowe@apple.com>
Ensure that the path exists before writing results to it.
Hopefully this will make the Windows build bot happy.
* Scripts/run-webkit-tests:
2009-07-30 Mark Rowe <mrowe@apple.com>
Reviewed by Adam Treat and Jon Honeycutt.
......
......@@ -1784,6 +1784,8 @@ sub recordActualResultsAndDiff($$)
my ($expectedResultFileNameMinusExtension, $expectedResultDirectoryPath, $expectedResultExtension) = fileparse($expectedResultPath, qr{\.[^.]+$});
my $actualResultsPath = "$testResultsDirectory/$base-$actualTag$expectedResultExtension";
my $copiedExpectedResultsPath = "$testResultsDirectory/$base-$expectedTag$expectedResultExtension";
mkpath($expectedResultDirectoryPath);
writeToFile("$actualResultsPath", $actualResults);
if (-f $expectedResultPath) {
......
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