Skip to content
Snippets Groups Projects
Commit 981ad6ed authored by Mick Jordan's avatar Mick Jordan
Browse files

add missing update in previous changeset

parent 3ad73d9a
Branches
No related tags found
No related merge requests found
...@@ -103,7 +103,7 @@ def rpt_list_testdates(args): ...@@ -103,7 +103,7 @@ def rpt_list_testdates(args):
parser = ArgumentParser(prog='mx rpt-list-testdates') parser = ArgumentParser(prog='mx rpt-list-testdates')
_add_common_args(parser) _add_common_args(parser)
parser.add_argument('--pattern', action='store', help='regexp pattern for pkg match', default='.*') parser.add_argument('--pattern', action='store', help='regexp pattern for pkg match', default='.*')
parser.add_argument('--printfile', action='store_true', help='print filename containing tests') parser.add_argument('--printdir', action='store_true', help='print directory containing tests')
args = parser.parse_args(args) args = parser.parse_args(args)
fastr = dict() fastr = dict()
dirlist = get_local_dirs(args.logdir) dirlist = get_local_dirs(args.logdir)
...@@ -124,7 +124,7 @@ def rpt_list_testdates(args): ...@@ -124,7 +124,7 @@ def rpt_list_testdates(args):
sortedList = sorted(testdates) sortedList = sorted(testdates)
print pkg print pkg
for resultInfo in sortedList: for resultInfo in sortedList:
if args.printfile: if args.printdir:
print ' ' + resultInfo.localdir print ' ' + resultInfo.localdir
else: else:
print ' ' + str(resultInfo.date) print ' ' + str(resultInfo.date)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment