From 00d8063d0ebc8587c6bf52af824b7ae5e98baf1e Mon Sep 17 00:00:00 2001 From: Tibor Frank Date: Mon, 4 May 2020 06:29:53 +0200 Subject: Report: Fix typo in specification. Change-Id: Ie61f8c1eef8828ce30f82e33ef0c40b8f77de26b Signed-off-by: Tibor Frank --- resources/tools/presentation/generator_tables.py | 4 ++++ resources/tools/presentation/specification.yaml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'resources') diff --git a/resources/tools/presentation/generator_tables.py b/resources/tools/presentation/generator_tables.py index a72551f15a..977ba8d669 100644 --- a/resources/tools/presentation/generator_tables.py +++ b/resources/tools/presentation/generator_tables.py @@ -1547,6 +1547,10 @@ def table_comparison(table, input_data): u"stdev": tst_data[u"stdev"] } + if not tbl_dict: + logging.warning(f"No data for table {table.get(u'title', u'')}!") + return + tbl_lst = list() for tst_data in tbl_dict.values(): row = [tst_data[u"name"], ] diff --git a/resources/tools/presentation/specification.yaml b/resources/tools/presentation/specification.yaml index af224cf33f..da97b746d2 100644 --- a/resources/tools/presentation/specification.yaml +++ b/resources/tools/presentation/specification.yaml @@ -4443,7 +4443,7 @@ algorithm: "table_comparison" output-file: "{DIR[STATIC,VPP]}/performance-changes-3n-hsw-2t2c-mrr" include-tests: "MRR" # "PDR" | "NDR" | "MRR" - filter: "'2t2c' and 'MRR' and 'NIC_Intel-XL710' and not 'NF_DENSITY'" + filter: "'2T2C' and 'MRR' and 'NIC_Intel-XL710' and not 'NF_DENSITY'" columns: - title: "1904" data-set: "vpp-performance-changes-3n-hsw-mrr-h1" -- cgit 1.2.3-korg