Skip to content

Commit

Permalink
Debug CI failure
Browse files Browse the repository at this point in the history
  • Loading branch information
fmeum committed Oct 7, 2022
1 parent 3ab3cf3 commit 97971cb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/test/shell/bazel/bazel_coverage_cc_test_llvm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -373,16 +373,22 @@ function test_external_cc_target_coverage_not_collected_by_default() {
[ "$clang_version" -lt 9 ] \
&& echo "clang versions before 9.0 are not supported." && return 0

"$clang" --version

local -r llvm_profdata="/usr/bin/llvm-profdata"
if [[ ! -x ${llvm_profdata} ]]; then
return
fi

"$llvm_profdata" --version

local -r llvm_cov="/usr/bin/llvm-cov"
if [[ ! -x ${llvm_cov} ]]; then
return
fi

"$llvm_cov" --version

setup_external_cc_target

BAZEL_USE_LLVM_NATIVE_COVERAGE=1 GCOV=$llvm_profdata CC=$clang \
Expand Down

0 comments on commit 97971cb

Please sign in to comment.