diff options
author | Jeremy Bettis <jbettis@google.com> | 2021-03-16 16:20:56 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-03-17 19:22:49 +0000 |
commit | 07d5923ce3f239c46b89169c04ab85a25508c9a9 (patch) | |
tree | 4db4000162e45c7ef099d123ddfeea7ad2637725 /util | |
parent | ef96869a8d0c587584d181cd05d331372d507b3a (diff) | |
download | chrome-ec-07d5923ce3f239c46b89169c04ab85a25508c9a9.tar.gz |
zephyr: Add a wrapper for llvm-cov, for lcov.
lcov only allows one word for the gcov tool. This let's you use llvm-cov
instead, i.e.
lcov --gcov-tool $HOME/trunk/src/platform/ec/util/llvm-gcov.sh
BUG=b:183007888
TEST=ran lcov
BRANCH=none
Signed-off-by: Jeremy Bettis <jbettis@chromium.org>
Change-Id: I4551eb2a057d06bbb6e6511db0e41f58a391c728
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2765151
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'util')
-rwxr-xr-x | util/llvm-gcov.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/util/llvm-gcov.sh b/util/llvm-gcov.sh new file mode 100755 index 0000000000..7c1c97a7d5 --- /dev/null +++ b/util/llvm-gcov.sh @@ -0,0 +1,7 @@ +#!/bin/bash +# +# Copyright 2021 The Chromium OS Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +exec llvm-cov gcov "$@" |