ceph/scripts/coverage.py
Andrew Schoen dfffadd42e cleaning up usage for teuthology-coverage
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2014-11-13 15:24:41 -06:00

28 lines
864 B
Python

"""
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)