diff options
author | 2018-01-16 15:55:48 -0500 | |
---|---|---|
committer | 2018-01-16 21:33:39 +0000 | |
commit | 8ee7fb0083c0b00e494f580cba216ab71a889e22 (patch) | |
tree | 159a276f68090b7f6db94ee0e3249f555d8c9177 /tools | |
parent | 57393797c0c0ab10e19f3ce6a3ad16a024e3cea9 (diff) |
Fix directory creation in skqp app
Bug: skia:
Change-Id: Id26832ccce7d09d3d3d640bcdd11a424f18943f7
Reviewed-on: https://skia-review.googlesource.com/92682
Reviewed-by: Hal Canary <halcanary@google.com>
Commit-Queue: Hal Canary <halcanary@google.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/skqp/gm_knowledge.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/skqp/gm_knowledge.cpp b/tools/skqp/gm_knowledge.cpp index 7670aa9ba7..05a6a5ccd0 100644 --- a/tools/skqp/gm_knowledge.cpp +++ b/tools/skqp/gm_knowledge.cpp @@ -126,7 +126,8 @@ bool IsGoodGM(const char* name, skqp::AssetManager* assetManager) { && asset_exists(assetManager, SkOSPath::Join(name, PATH_MIN_PNG).c_str()); } -// Assumes that for each GM foo, asset_manager has files foo/{max,min}.png +// Assumes that for each GM foo, asset_manager has files foo/{max,min}.png and +// that the report_directory_path already exists on disk. float Check(const uint32_t* pixels, int width, int height, @@ -174,7 +175,6 @@ float Check(const uint32_t* pixels, gErrors.push_back(Run{SkString(backend), SkString(name), 0, 0}); } if (report_directory_path && badness > 0 && report_directory_path[0] != '\0') { - sk_mkdir(report_directory_path); if (!backend) { backend = "skia"; } |