Merge e88481f74f ("Merge tag 'rproc-v6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/remoteproc/linux") into android-mainline
Steps on the way to v6.8-rc1 Signed-off-by: Lee Jones <joneslee@google.com> Change-Id: I258f6bcee2aac7c911fd5f8c7d6801a9998b1d9e
This commit is contained in:
@@ -139,6 +139,17 @@ If your installed version of gcc doesn't work, you can tweak the steps:
|
||||
$ ./tools/testing/kunit/kunit.py run --make_options=CC=/usr/bin/gcc-6
|
||||
$ lcov -t "my_kunit_tests" -o coverage.info -c -d .kunit/ --gcov-tool=/usr/bin/gcov-6
|
||||
|
||||
Alternatively, LLVM-based toolchains can also be used:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
# Build with LLVM and append coverage options to the current config
|
||||
$ ./tools/testing/kunit/kunit.py run --make_options LLVM=1 --kunitconfig=.kunit/ --kunitconfig=tools/testing/kunit/configs/coverage_uml.config
|
||||
$ llvm-profdata merge -sparse default.profraw -o default.profdata
|
||||
$ llvm-cov export --format=lcov .kunit/vmlinux -instr-profile default.profdata > coverage.info
|
||||
# The coverage.info file is in lcov-compatible format and it can be used to e.g. generate HTML report
|
||||
$ genhtml -o /tmp/coverage_html coverage.info
|
||||
|
||||
|
||||
Running tests manually
|
||||
======================
|
||||
|
||||
Reference in New Issue
Block a user