]>
git.ipfire.org Git - thirdparty/pdns.git/blob - regression-tests/bulktest-report.py
2 from __future__
import print_function
5 runs
= json
.load(sys
.stdin
)
7 selectors
= dict(s
.split('=',1) for s
in sys
.argv
[1:])
15 for k
,v
in selectors
.iteritems():
22 selected
.append((run
['tag'], run
))
29 fmt
=''.join('%%%ds' % max(15, i
+4) for i
in [3]+map(len, sorted(names
)))
30 print(fmt
% tuple(['tag']+sorted(names
)))
31 for tag
, stats
in selected
:
32 print(fmt
% tuple([tag
] + [stats
.get(s
) for s
in sorted(names
)]))