Skip to content

Commit 7cd5dd5

Browse files
committed
kcov: Add note explaining 2>/dev/null redirection
1 parent 80b7abe commit 7cd5dd5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/lib/kcov

+2
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ run_kcov() {
5454
mkdir "$coverage_dir"
5555
printf 'Starting coverage run:\n %s\n' "${kcov_argv[*]}"
5656

57+
# We redirect stderr because all the kcov coverage info will get dumped to the
58+
# Travis log otherwise.
5759
if "${kcov_argv[@]}" 2>/dev/null; then
5860
if [[ "$send_to_coveralls" == 'false' ]]; then
5961
@go.printf 'Coverage results located in:\n %s\n' \

0 commit comments

Comments
 (0)