You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
329 B
16 lines
329 B
4 months ago
|
#!/bin/bash
|
||
|
|
||
|
# Running gcov with -a (--all-blocks) will hang on some files. lcov uses -a.
|
||
|
# This shim strips out that flag (a minor feature) so we can run gcov.
|
||
|
|
||
|
CMD="gcov"
|
||
|
|
||
|
while (( "$#" )); do
|
||
|
if [[ "$1" != "-a" && "$1" != "-all-blocks" && "$1" != "--all-blocks" ]]; then
|
||
|
CMD="$CMD $1"
|
||
|
fi
|
||
|
shift
|
||
|
done
|
||
|
|
||
|
$CMD
|