Create output directory in skdiff

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1865563002

Review URL: https://codereview.chromium.org/1865563002
This commit is contained in:
brianosman 2016-04-05 11:37:49 -07:00 committed by Commit bot
parent 85b4b53e78
commit 235cbf23c4

View File

@ -405,6 +405,10 @@ static void create_diff_images (DiffMetricProc dmp,
sizeof(SkString*), SkCastForQSort(compare_file_name_metrics));
}
if (!outputDir.isEmpty()) {
sk_mkdir(outputDir.c_str());
}
int i = 0;
int j = 0;