aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2018-01-26 19:24:56 +0100
committerTibor Frank <tifrank@cisco.com>2018-01-26 18:25:52 +0000
commitb6e63e131cfc4a120af2036aff8569b37748be1e (patch)
tree2e60bb419cb9e6577dcc518c56dca3f5f3f09c62
parenta46e3d64200cc72d0abc74b5c058bab453e04583 (diff)
Report: source data
Change-Id: Ibc928740a816fe56d6c7eeab95de67e5ebae9cf4 Signed-off-by: Tibor Frank <tifrank@cisco.com> (cherry picked from commit c3a9866686d251ef6c1b20a785d81ad3e7400528)
-rw-r--r--resources/tools/presentation/generator_tables.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/resources/tools/presentation/generator_tables.py b/resources/tools/presentation/generator_tables.py
index 58d3b67b55..21a7f05497 100644
--- a/resources/tools/presentation/generator_tables.py
+++ b/resources/tools/presentation/generator_tables.py
@@ -374,8 +374,12 @@ def table_performance_comparison(table, input_data):
tbl_dict[tst_name] = {"name": name,
"ref-data": list(),
"cmp-data": list()}
- tbl_dict[tst_name]["ref-data"].\
- append(tst_data["throughput"]["value"])
+ try:
+ tbl_dict[tst_name]["ref-data"].\
+ append(tst_data["throughput"]["value"])
+ except TypeError as err:
+ logging.warning(err)
+ logging.warning(tst_data)
for job, builds in table["compare"]["data"].items():
for build in builds: