diff options
author | Kevin Lubick <kjlubick@google.com> | 2017-02-14 13:12:37 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-02-15 13:19:40 +0000 |
commit | 0168e0442e00a42d8367422542033bc8a1ac9efe (patch) | |
tree | 6fd16a0ded39cfe282e8e89bf3dea745698e7a4a /bin | |
parent | c43559e6e6bd403c5f3abc46a33e996498eef63f (diff) |
Add a way to compute the code coverage of fuzzers
This also fixes bin/coverage.
fuzz/coverage borrows heavily from bin/coverage.
BUG=skia:
Change-Id: I9e353d1f5ea3bca1d57d66b1c1ecabc6f9b23cee
Reviewed-on: https://skia-review.googlesource.com/8414
Reviewed-by: Joe Gregorio <jcgregorio@google.com>
Commit-Queue: Kevin Lubick <kjlubick@google.com>
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/coverage | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/coverage b/bin/coverage index 7390d7e638..f7c2cf8cd8 100755 --- a/bin/coverage +++ b/bin/coverage @@ -34,7 +34,7 @@ bin/sync bin/fetch-gn #TODO: make this work with Clang. -ARGS='cc="gcc" cxx="g++" extra_cflags="--coverage" extra_ldflags="--coverage"' +ARGS='cc="gcc" cxx="g++" extra_cflags=["--coverage"] extra_ldflags=["--coverage"]' gn gen --args="$ARGS" "$BUILD" ninja -C "$BUILD" "$EXECUTABLE" |