Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1057)

Side by Side Diff: tools/gcov_shim

Issue 23523055: add a way to get code coverage (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: borenet Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « tools/coverage.sh ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/bin/bash
2
3 # Running gcov with -a (--all-blocks) will hang on some files. lcov uses -a.
4 # This shim strips out that flag (a minor feature) so we can run gcov.
5
6 CMD="gcov"
7
8 while (( "$#" )); do
9 if [[ "$1" != "-a" && "$1" != "-all-blocks" && "$1" != "--all-blocks" ]]; th en
10 CMD="$CMD $1"
11 fi
12 shift
13 done
14
15 $CMD
OLDNEW
« no previous file with comments | « tools/coverage.sh ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698