blob: 1bac3b7f027f73f75e90683b28ce6ec7888277ce [file] [log] [blame]
mtklein@google.com1fb04e22013-09-13 19:32:43 +00001#!/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
6CMD="gcov"
7
8while (( "$#" )); do
9 if [[ "$1" != "-a" && "$1" != "-all-blocks" && "$1" != "--all-blocks" ]]; then
10 CMD="$CMD $1"
11 fi
12 shift
13done
14
15$CMD