Debian Codegraph @

src/deps/miniasync/utils/docker/images/0001-fix-generating-gcov-files-and-turn-off-verbose-log.patch

raw
1 From d633d3b0a5f03be280efb80a69b9d5ed4e9c4d56 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?=C5=81ukasz=20Stolarczuk?= <[email protected]>
3 Date: Tue, 14 Jul 2020 13:58:34 +0200
4 Subject: [PATCH] fix generating gcov files and turn-off verbose log
5
6 ---
7 codecov | 6 +++---
8 1 file changed, 3 insertions(+), 3 deletions(-)
9
10 diff --git a/codecov b/codecov
11 index e702ecd..0a2f4d8 100755
12 --- a/codecov
13 +++ b/codecov
14 @@ -1108,9 +1108,9 @@ then
15 if [ "$ft_gcovout" = "0" ];
16 then
17 # suppress gcov output
18 - bash -c "find $proj_root -type f -name '*.gcno' $gcov_include $gcov_ignore -exec $gcov_exe -pb $gcov_arg {} +" >/dev/null 2>&1 || true
19 + bash -c "find $proj_root -type f -name '*.gcno' $gcov_include $gcov_ignore -execdir $gcov_exe -pb $gcov_arg {} \;" >/dev/null 2>&1 || true
20 else
21 - bash -c "find $proj_root -type f -name '*.gcno' $gcov_include $gcov_ignore -exec $gcov_exe -pb $gcov_arg {} +" || true
22 + bash -c "find $proj_root -type f -name '*.gcno' $gcov_include $gcov_ignore -execdir $gcov_exe -pb $gcov_arg {} \;" || true
23 fi
24 else
25 say "${e}==>${x} gcov disabled"
26 @@ -1425,7 +1425,7 @@ do
27 report_len=$(wc -c < "$file")
28 if [ "$report_len" -ne 0 ];
29 then
30 - say " ${g}+${x} $file ${e}bytes=$(echo "$report_len" | tr -d ' ')${x}"
31 + #say " ${g}+${x} $file ${e}bytes=$(echo "$report_len" | tr -d ' ')${x}"
32 # append to to upload
33 _filename=$(basename "$file")
34 if [ "${_filename##*.}" = 'gcov' ];
35 --
36 2.25.1
37