2013-10-08 16:54:41 +00:00
|
|
|
import argparse
|
2014-06-06 21:12:35 +00:00
|
|
|
import teuthology.ls
|
2013-10-08 16:54:41 +00:00
|
|
|
|
|
|
|
|
|
|
|
def main():
|
2014-06-06 21:12:35 +00:00
|
|
|
teuthology.ls.main(parse_args())
|
2013-10-08 16:54:41 +00:00
|
|
|
|
|
|
|
|
|
|
|
def parse_args():
|
|
|
|
parser = argparse.ArgumentParser(description='List teuthology job results')
|
|
|
|
parser.add_argument(
|
2014-07-07 20:12:38 +00:00
|
|
|
'archive_dir',
|
2013-10-08 16:54:41 +00:00
|
|
|
metavar='DIR',
|
2014-07-01 22:39:57 +00:00
|
|
|
default='.',
|
2013-10-08 16:54:41 +00:00
|
|
|
help='path under which to archive results',
|
|
|
|
)
|
|
|
|
parser.add_argument(
|
|
|
|
'-v', '--verbose',
|
|
|
|
action='store_true', default=False,
|
|
|
|
help='show reasons tests failed',
|
|
|
|
)
|
|
|
|
return parser.parse_args()
|