diff options
author | cdalton <cdalton@nvidia.com> | 2016-02-17 11:10:16 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-02-17 11:10:16 -0800 |
commit | 91e457d17f8c6c06de33eb2bb430a90ba472eda5 (patch) | |
tree | 688e47f46f6c8ea4b53dcc3e8071460ff38eaaff | |
parent | 9bd5f746ca45ebec0ed3b54dcbd6cf5fc2754c3c (diff) |
Fix "^" in --match flag for nanobench SKPs
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1706923002
Review URL: https://codereview.chromium.org/1706923002
-rw-r--r-- | bench/nanobench.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bench/nanobench.cpp b/bench/nanobench.cpp index a5c3ca11c8..c7cc3f0239 100644 --- a/bench/nanobench.cpp +++ b/bench/nanobench.cpp @@ -609,7 +609,7 @@ public: static bool ReadPicture(const char* path, SkAutoTUnref<SkPicture>* pic) { // Not strictly necessary, as it will be checked again later, // but helps to avoid a lot of pointless work if we're going to skip it. - if (SkCommandLineFlags::ShouldSkip(FLAGS_match, path)) { + if (SkCommandLineFlags::ShouldSkip(FLAGS_match, SkOSPath::Basename(path).c_str())) { return false; } |