commit | 8673714d75ff1020f78217ff8839f1e18c3591e4 | [log] [tgz] |
---|---|---|
author | scroggo <scroggo@google.com> | Wed Feb 03 12:19:11 2016 -0800 |
committer | Commit bot <commit-bot@chromium.org> | Wed Feb 03 12:19:11 2016 -0800 |
tree | d073ca2cba40e5ec2eb07dae0d70d4fb58a1d416 | |
parent | 7a76f9c8f4de11e51b3495eec0d76be88a12adfa [diff] |
Treat bad values passed to --images as a fatal error If an option is passed to --images that is either a non-existent path or a folder with no images matching the supported types, assume this is an error and exit, so they can supply a valid path instead. Share code between DM and nanobench in SkCommonFlags. nanobench now behaves more like DM - it will check a directory for images that match the supported extensions. GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1611323004 Review URL: https://codereview.chromium.org/1611323004