From 1586c016e0d47d333f44a831c50333c9a819e61a Mon Sep 17 00:00:00 2001 From: floweisshardt Date: Sun, 1 Nov 2020 14:59:24 +0100 Subject: [PATCH 1/2] optional plot names --- atf_core/src/atf_core/configuration_parser.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/atf_core/src/atf_core/configuration_parser.py b/atf_core/src/atf_core/configuration_parser.py index 8a77092b..5aaf8521 100644 --- a/atf_core/src/atf_core/configuration_parser.py +++ b/atf_core/src/atf_core/configuration_parser.py @@ -323,9 +323,11 @@ def get_sorted_plot_dicts(self, atf_result, filter_tests, filter_testblocks, fil # mtb if metric.name not in mtb.keys(): mtb[metric.name] = {} - if test.name not in mtb[metric.name].keys(): - mtb[metric.name][test.name] = {} - mtb[metric.name][test.name][testblock.name] = metric + test_name = test.name + #test_name = test.name + "\n" + test.robot + if test_name not in mtb[metric.name].keys(): + mtb[metric.name][test_name] = {} + mtb[metric.name][test_name][testblock.name] = metric ret = {} ret['tbm'] = tbm From f775edfa910e236b44bdd011d41b383aa8b16c1b Mon Sep 17 00:00:00 2001 From: floweisshardt Date: Wed, 2 Dec 2020 11:40:23 +0100 Subject: [PATCH 2/2] plot robot in mtb --- atf_core/src/atf_core/configuration_parser.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/atf_core/src/atf_core/configuration_parser.py b/atf_core/src/atf_core/configuration_parser.py index 5aaf8521..3b7bf249 100644 --- a/atf_core/src/atf_core/configuration_parser.py +++ b/atf_core/src/atf_core/configuration_parser.py @@ -323,8 +323,8 @@ def get_sorted_plot_dicts(self, atf_result, filter_tests, filter_testblocks, fil # mtb if metric.name not in mtb.keys(): mtb[metric.name] = {} - test_name = test.name - #test_name = test.name + "\n" + test.robot + #test_name = test.name + test_name = test.name + "\n" + test.robot if test_name not in mtb[metric.name].keys(): mtb[metric.name][test_name] = {} mtb[metric.name][test_name][testblock.name] = metric