diff options
author | Tibor Frank <tifrank@cisco.com> | 2018-04-26 10:08:42 +0200 |
---|---|---|
committer | Tibor Frank <tifrank@cisco.com> | 2018-04-26 10:11:49 +0200 |
commit | e7fe3850f2777db5c5b6d1fbd0877ebd7cac0f18 (patch) | |
tree | 4107229aaa4164f7fbb6e46c691ea2e62cff9ca5 /resources/tools/presentation/generator_tables.py | |
parent | 623eb22347f7d5218d3536f620d6911cc312d7dd (diff) |
Report: Add historical data to performance changes table
Change-Id: I9d6ff6021db4356c0b06555c79841b9ed602f671
Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'resources/tools/presentation/generator_tables.py')
-rw-r--r-- | resources/tools/presentation/generator_tables.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/resources/tools/presentation/generator_tables.py b/resources/tools/presentation/generator_tables.py index 3c4900b2e2..951be8eea5 100644 --- a/resources/tools/presentation/generator_tables.py +++ b/resources/tools/presentation/generator_tables.py @@ -414,6 +414,8 @@ def table_performance_comparison(table, input_data): for job, builds in item["data"].items(): for build in builds: for tst_name, tst_data in data[job][str(build)].iteritems(): + if tbl_dict.get(tst_name, None) is None: + continue if tbl_dict[tst_name].get("history", None) is None: tbl_dict[tst_name]["history"] = OrderedDict() if tbl_dict[tst_name]["history"].get(item["title"], |