aboutsummaryrefslogtreecommitdiffhomepage
path: root/bin
diff options
context:
space:
mode:
authorGravatar Kevin Lubick <kjlubick@google.com>2017-02-14 13:12:37 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-02-15 13:19:40 +0000
commit0168e0442e00a42d8367422542033bc8a1ac9efe (patch)
tree6fd16a0ded39cfe282e8e89bf3dea745698e7a4a /bin
parentc43559e6e6bd403c5f3abc46a33e996498eef63f (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-xbin/coverage2
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"