From: Ondrej Lichtner <olichtne(a)redhat.com>
The return value of compare_result_with_baseline should be a list of
strings that describe the comparison. The result gets used in the
evaluate_group_results method which joins all the lists together.
Returning a string here would still work becuase it can be iterated but
it would result in incorrect formatting of the result.
Signed-off-by: Ondrej Lichtner <olichtne(a)redhat.com>
---
lnst/RecipeCommon/Perf/Evaluators/BaselineEvaluator.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lnst/RecipeCommon/Perf/Evaluators/BaselineEvaluator.py
b/lnst/RecipeCommon/Perf/Evaluators/BaselineEvaluator.py
index 20e5a94..72a19e9 100644
--- a/lnst/RecipeCommon/Perf/Evaluators/BaselineEvaluator.py
+++ b/lnst/RecipeCommon/Perf/Evaluators/BaselineEvaluator.py
@@ -39,4 +39,4 @@ def get_baseline(self, recipe, result):
return None
def compare_result_with_baseline(self, recipe, result, baseline):
- return False, "Result to baseline comparison not implemented"
+ return False, ["Result to baseline comparison not implemented"]
--
2.22.0