1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-11-06 05:17:57 +00:00
conky/tests/llvm-gcov.sh
Brenden Matthews 40a438be3e FreeBSD fixes, GitLab CI build improvements.
- use sccache for build caching
 - add coverage reports as build artifacts
 - add lcov-summary for coverage summary
 - clean up/refactor CI yaml

This resolves the FreeBSD part of #754.
2019-02-25 11:22:19 -05:00

16 lines
369 B
Bash
Executable File

#!/usr/bin/env bash
if hash llvm-cov 2>/dev/null; then
llvm_cov="llvm-cov"
elif hash llvm-cov-7 2>/dev/null; then
llvm_cov="llvm-cov-7"
elif hash llvm-cov-8 2>/dev/null; then
llvm_cov="llvm-cov-8"
elif hash llvm-cov70 2>/dev/null; then
llvm_cov="llvm-cov70"
elif hash llvm-cov80 2>/dev/null; then
llvm_cov="llvm-cov80"
fi
exec $llvm_cov gcov "$@"