From 5b702673375a2a098311c23ab83487d3e1e02e72 Mon Sep 17 00:00:00 2001 From: pmikus Date: Thu, 13 Apr 2017 22:06:17 +0200 Subject: Report generation script updates - Add new type of throughput plots - Update Sphinx, Sphinx-rtd-theme and Plotly packages - Add auto generation of detailed test results - Small fixes Change-Id: I706777160a7f166e0a335c64428d10cb546fa854 Signed-off-by: pmikus Signed-off-by: Peter Mikus --- resources/tools/report_gen/run_robot_data.py | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'resources/tools/report_gen/run_robot_data.py') diff --git a/resources/tools/report_gen/run_robot_data.py b/resources/tools/report_gen/run_robot_data.py index 1d102e1c1a..d5672b4ce5 100755 --- a/resources/tools/report_gen/run_robot_data.py +++ b/resources/tools/report_gen/run_robot_data.py @@ -247,6 +247,11 @@ def do_rst(data, args): output = open(args.output, 'w') output.write('\n.. |br| raw:: html\n\n
\n\n') + if (args.title): + output.write(args.title + '\n' + + hdrs[shift - 1] * + len(args.title) + '\n\n') + for item in data: if int(item['level']) < start: continue @@ -468,6 +473,10 @@ def parse_args(): default=None, help="Regular expression used to select test suites. " "If None, all test suites are selected.") + parser.add_argument("-t", "--title", + type=str, + default=None, + help="Title of the output.") return parser.parse_args() -- cgit 1.2.3-korg