mirror of
https://github.com/ceph/ceph
synced 2024-12-24 12:24:19 +00:00
193b3112a3
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
41 lines
935 B
Python
41 lines
935 B
Python
import argparse
|
|
|
|
import teuthology.results
|
|
|
|
|
|
def main():
|
|
teuthology.results.main(parse_args())
|
|
|
|
|
|
def parse_args():
|
|
parser = argparse.ArgumentParser(
|
|
description='Email teuthology suite results')
|
|
parser.add_argument(
|
|
'--email',
|
|
help='address to email test failures to',
|
|
)
|
|
parser.add_argument(
|
|
'--timeout',
|
|
help='how many seconds to wait for all tests to finish (default no ' +
|
|
'wait)',
|
|
type=int,
|
|
default=0,
|
|
)
|
|
parser.add_argument(
|
|
'--archive-dir',
|
|
metavar='DIR',
|
|
help='path under which results for the suite are stored',
|
|
required=True,
|
|
)
|
|
parser.add_argument(
|
|
'--name',
|
|
help='name of the suite',
|
|
required=True,
|
|
)
|
|
parser.add_argument(
|
|
'-v', '--verbose',
|
|
action='store_true', default=False,
|
|
help='be more verbose',
|
|
)
|
|
return parser.parse_args()
|