From ef6ce6f84a7a0d8c9fbb7687ff22303dbbe55b62 Mon Sep 17 00:00:00 2001 From: Tibor Frank Date: Wed, 12 Feb 2020 15:02:07 +0100 Subject: [PATCH] Report: Fix Oper data Change-Id: Ie1e399486f12a204e23fdf73774c322eacf1ebe4 Signed-off-by: Tibor Frank --- docs/report/detailed_test_results/vpp_mrr_results/index.rst | 2 +- resources/tools/presentation/input_data_parser.py | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/docs/report/detailed_test_results/vpp_mrr_results/index.rst b/docs/report/detailed_test_results/vpp_mrr_results/index.rst index 605ae35386..2172ce7f6a 100644 --- a/docs/report/detailed_test_results/vpp_mrr_results/index.rst +++ b/docs/report/detailed_test_results/vpp_mrr_results/index.rst @@ -4,11 +4,11 @@ VPP MRR .. toctree:: ../vpp_mrr_results_3n_hsw/index - ../vpp_mrr_results_3n_tsh/index ../vpp_mrr_results_2n_dnv/index ../vpp_mrr_results_3n_dnv/index .. + ../vpp_mrr_results_3n_tsh/index ../vpp_mrr_results_2n_skx/index ../vpp_mrr_results_3n_skx/index ../vpp_mrr_results_2n_clx/index diff --git a/resources/tools/presentation/input_data_parser.py b/resources/tools/presentation/input_data_parser.py index d8ea2969da..7c9cd303e0 100644 --- a/resources/tools/presentation/input_data_parser.py +++ b/resources/tools/presentation/input_data_parser.py @@ -317,6 +317,8 @@ class ExecutionChecker(ResultVisitor): # 2 - PAPI History of DUT2 self._conf_history_lookup_nr = 0 + self._sh_run_counter = 0 + # Test ID of currently processed test- the lowercase full path to the # test self._test_id = None @@ -600,6 +602,12 @@ class ExecutionChecker(ResultVisitor): if not msg.message.count(u"stats runtime"): return + self._sh_run_counter += 1 + + # Temporary solution + if self._sh_run_counter > 1: + return + if u"show-run" not in self._data[u"tests"][self._test_id].keys(): self._data[u"tests"][self._test_id][u"show-run"] = dict() @@ -923,6 +931,8 @@ class ExecutionChecker(ResultVisitor): :returns: Nothing. """ + self._sh_run_counter = 0 + longname_orig = test.longname.lower() # Check the ignore list -- 2.16.6