aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/presentation
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2018-01-26 20:21:18 +0100
committerTibor Frank <tifrank@cisco.com>2018-01-26 19:22:12 +0000
commit8d3d890c25a9bdf852cb7e4ae0156815663655c1 (patch)
treeb6d04f9ac7786a73af5682416bae70fd2fca5e1a /resources/tools/presentation
parentb6e63e131cfc4a120af2036aff8569b37748be1e (diff)
Report: Source data
Change-Id: Ic8951568eb02b8eb998638f76503f87ea8e4929b Signed-off-by: Tibor Frank <tifrank@cisco.com> (cherry picked from commit 49033c34ed62a40d280724414ff5be1c12edc5b7)
Diffstat (limited to 'resources/tools/presentation')
-rw-r--r--resources/tools/presentation/generator_tables.py12
1 files changed, 8 insertions, 4 deletions
diff --git a/resources/tools/presentation/generator_tables.py b/resources/tools/presentation/generator_tables.py
index 21a7f05497..4b1da90068 100644
--- a/resources/tools/presentation/generator_tables.py
+++ b/resources/tools/presentation/generator_tables.py
@@ -378,14 +378,18 @@ def table_performance_comparison(table, input_data):
tbl_dict[tst_name]["ref-data"].\
append(tst_data["throughput"]["value"])
except TypeError as err:
- logging.warning(err)
- logging.warning(tst_data)
+ pass # No data in output.xml for this test
for job, builds in table["compare"]["data"].items():
for build in builds:
for tst_name, tst_data in data[job][str(build)].iteritems():
- tbl_dict[tst_name]["cmp-data"].\
- append(tst_data["throughput"]["value"])
+ try:
+ tbl_dict[tst_name]["cmp-data"].\
+ append(tst_data["throughput"]["value"])
+ except KeyError:
+ pass
+ except TypeError:
+ tbl_dict.pop(tst_name, None)
tbl_lst = list()
for tst_name in tbl_dict.keys():