/
niceSOFT
/
libxcrypt
Обзор
Документация
Войти
/
niceSOFT
/
libxcrypt
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
develop
build-aux/ci/summarize-coverage
24 строки
659 B
Björn Esser
Fix github actions.
14 янв 2025, 16:00
Не верифицирован
14 янв 2025, 16:00
5ef405f
Код
Авторство
О чём код?
#! /bin/sh set -e case "$CC" in (*clang*) GCOV=$(pwd)/build-aux/ci/clang-gcov-wrapper ;; (*) GCOV=gcov ;; esac unpruned=$(mktemp --tmpdir all-coverage.XXXXXXXXXX.info) trap 'rm -f "'"$unpruned"'"' 0 set -x # Merge all of the gcov output into one overview file using lcov, # then prune data for the tests themselves, and for system libraries. lcov --gcov-tool "$GCOV" --rc branch_coverage=1 \ --directory . --output-file "$unpruned" \ --capture lcov --gcov-tool "$GCOV" --rc branch_coverage=1 \ --directory . --output-file "$1" --ignore-errors unused \ --remove "$unpruned" '/usr/*' '*test*' '*gen-des-tables*'