From: Ilya Lavrenov Date: Sun, 2 Mar 2014 12:08:37 +0000 (+0400) Subject: ability to merge logs with intersections only X-Git-Tag: accepted/tizen/ivi/20140515.103456~1^2~55^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=29deff8707c825d1992a3bda6569a3e5eefb1a36;p=profile%2Fivi%2Fopencv.git ability to merge logs with intersections only --- diff --git a/modules/ts/misc/summary.py b/modules/ts/misc/summary.py index 4e0cb7e..4cbb890 100755 --- a/modules/ts/misc/summary.py +++ b/modules/ts/misc/summary.py @@ -44,6 +44,7 @@ if __name__ == "__main__": parser.add_option("", "--match", dest="match", default=None) parser.add_option("", "--match-replace", dest="match_replace", default="") parser.add_option("", "--regressions-only", dest="regressionsOnly", default=None, metavar="X-FACTOR", help="show only tests with performance regressions not") + parser.add_option("", "--intersect-logs", dest="intersect_logs", default=False, help="show only tests present in all log files") (options, args) = parser.parse_args() options.generateHtml = detectHtmlOutputType(options.format) @@ -162,6 +163,10 @@ if __name__ == "__main__": for i in range(setsCount): case = cases[i] if case is None: + if options.intersect_logs: + needNewRow = False + break + tbl.newCell(str(i), "-") if options.calc_relatives and i > 0: tbl.newCell(str(i) + "%", "-")