Skip to content

Commit

Permalink
remove external directory in coverage report
Browse files Browse the repository at this point in the history
  • Loading branch information
DarienRaymond committed Jan 17, 2019
1 parent 57877d6 commit 88f17bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testing/coverage/coverall
Expand Up @@ -37,7 +37,7 @@ for OUT_FILE in $(find ${V2RAY_COV} -name "*.out"); do
done

COV_SORTED=${V2RAY_COV}/coverallsorted.out
cat ${COVERAGE_FILE} | sort -t: -k1 | grep -vw "testing" | grep -v ".pb.go" | grep -vw "vendor" > ${COV_SORTED}
cat ${COVERAGE_FILE} | sort -t: -k1 | grep -vw "testing" | grep -v ".pb.go" | grep -vw "vendor" | grep -vw "external" > ${COV_SORTED}
echo "mode: set" | cat - ${COV_SORTED} > ${COVERAGE_FILE}

if [ "$FAIL" -eq 0 ]; then
Expand Down

0 comments on commit 88f17bc

Please sign in to comment.