diff options
author | Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> | 2022-07-04 07:30:41 +0900 |
---|---|---|
committer | Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp> | 2022-08-02 00:54:57 +0900 |
commit | 9eb9bf0460b2bba954452126bc02cf74aeb731cd (patch) | |
tree | cf2a751eca7ada7a8658f765e4788971e20bb790 /tools/gen-test-report.sh | |
parent | e8a05c6f1ac288a8cfa5b0837313fec8fb7aadaf (diff) |
Add qualification tools to librefop repo
The librefop use gcov, gnucomplexity and clang-format to realize qualification.
This patch add these helper script into source tree.
Bug-AGL: SPEC-4500
Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
Change-Id: I014a0a315b08688470a540b397790aaee41d7efd
Diffstat (limited to 'tools/gen-test-report.sh')
-rwxr-xr-x | tools/gen-test-report.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/gen-test-report.sh b/tools/gen-test-report.sh new file mode 100755 index 0000000..74bbaf5 --- /dev/null +++ b/tools/gen-test-report.sh @@ -0,0 +1,8 @@ +#!/bin/sh + +rm -Rf ./coverage +mkdir -p ./coverage +mkdir -p ./coverage/report + +lcov -c --rc lcov_branch_coverage=1 -d . -o ./coverage/testcoverage.info +genhtml --rc lcov_branch_coverage=1 -o ./coverage/report -f ./coverage/testcoverage.info --num-spaces 4 |