Fix generate-coverage.sh.
It was not updated to exclude GTest. (Sometime later we really should just write a productionized version of this that runs automatically and portably. Preferably not in bash.) Change-Id: I99c9d2370fa0a35641a9905e071b96b7fbd7a993 Reviewed-on: https://boringssl-review.googlesource.com/14319 Reviewed-by: Steven Valdez <svaldez@google.com> Commit-Queue: Steven Valdez <svaldez@google.com> CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>
This commit is contained in:
parent
076c6a3389
commit
6a53b99f34
@ -46,9 +46,8 @@ go test -shim-path "$BUILD/ssl/test/bssl_shim" -num-workers 1
|
||||
|
||||
cd "$LCOV"
|
||||
lcov -c -d "$BUILD" -b "$BUILD" -o "$BUILD/lcov.info"
|
||||
lcov -r "$BUILD/lcov.info" "*_test.c" -o "$BUILD/lcov-1.info"
|
||||
lcov -r "$BUILD/lcov-1.info" "*_test.cc" -o "$BUILD/lcov-2.info"
|
||||
cat "$BUILD/lcov-2.info" "$BUILD/asm.info" > "$BUILD/final.info"
|
||||
lcov -r "$BUILD/lcov.info" -o "$BUILD/filtered.info" "*_test.c" "*_test.cc" "*/third_party/googletest/*"
|
||||
cat "$BUILD/filtered.info" "$BUILD/asm.info" > "$BUILD/final.info"
|
||||
sed -i "s;$BUILD;$BUILD_SRC;g" "$BUILD/final.info"
|
||||
sed -i "s;$SRC;$BUILD_SRC;g" "$BUILD/final.info"
|
||||
genhtml -p "$BUILD_SRC" "$BUILD/final.info"
|
||||
|
Loading…
Reference in New Issue
Block a user