forked from ceph/teuthology
-
Notifications
You must be signed in to change notification settings - Fork 0
/
coverage.py
27 lines (22 loc) · 864 Bytes
/
coverage.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
"""
usage: teuthology-coverage [options] -o LCOV_OUTPUT <test_dir>
Analyze the coverage of a suite of test runs, generating html output with
lcov.
options:
-h, --help show this help message and exit
-o LCOV_OUTPUT, --lcov-output LCOV_OUTPUT
the directory in which to store results
--html-output HTML_OUTPUT
the directory in which to store html output
--cov-tools-dir COV_TOOLS_DIR
the location of coverage scripts (cov-init and cov-
analyze) [default: ../../coverage]
--skip-init skip initialization (useful if a run stopped partway
through)
-v, --verbose be more verbose
"""
import docopt
import teuthology.coverage
def main():
args = docopt.docopt(__doc__)
teuthology.coverage.main(args)