-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
252d2bf
commit 9e60c54
Showing
5 changed files
with
31 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#!/usr/bin/env bash | ||
set -e | ||
|
||
# shellcheck disable=SC1091 | ||
source ./deps/pipetest/pipetest.sh | ||
# shellcheck source=./lcov.sh | ||
source ./lcov.sh -o test/coverage | ||
|
||
usage | assert_equals "$(cat <<EOF | ||
Usage: ./lcov.sh [OPTION]... FILE... | ||
Executes FILE as a test case also collect each LCOV info and generate HTML report | ||
List of available options | ||
-e, --extension EXT Coverage of every *.EXT file (default: sh) | ||
-i, --include PATH Include files matching PATH | ||
-x, --exclude PATH Exclude files matching PATH | ||
-o, --output OUTDIR Write HTML output to OUTDIR | ||
-h, --help Display this help and exit | ||
-v, --version Display current version | ||
Documentation can be found at https://github.com/javanile/lcov.sh | ||
EOF | ||
)" |