autodetect the best gcov version

This commit is contained in:
Hans Dembinski 2019-06-10 10:51:19 +02:00
parent 8a6c97a2df
commit 3ed997fba2

View File

@ -1,7 +1,12 @@
#!/bin/sh
# must be executed in project root folder
if [ -z $GCOV ]; then
GCOV=gcov
for i in 9 8 5; do
if test $(which gcov-$i); then
GCOV=gcov-$i
break;
fi;
done
fi
LCOV_VERSION="1.14"