From: Ondrej Lichtner <olichtne(a)redhat.com>
v2 changes:
* fix match description logging by Controller
- split format_match_description into lines
* fixed match description log by RunSummaryFormatter
- split format_match_description by lines
* Fixed filtering out Start/Finish logs for the same job in
RunSummaryFormatter
* added RunSummaryFormatter example to the example recipe:
commit: examples/python_recipe.py: print result summary
Ondrej Lichtner (8):
add lnst.Controller.RecipeResults
Controller: move print_match_description to MachineMapper
Recipe: add class RecipeRun
lnst.Controller.Controller: use the Recipe instance for test init
lnst.Controller.Machine: generate and store JobResult objects
lnst.Controller.Job: passed should reflect what was expected
add lnst.Controller.RunSummaryFormatter
examples/python_recipe.py: print result summary
lnst/Controller/Controller.py | 29 ++++------
lnst/Controller/Job.py | 5 +-
lnst/Controller/Machine.py | 13 ++++-
lnst/Controller/MachineMapper.py | 13 +++++
lnst/Controller/Recipe.py | 39 +++++++++++++
lnst/Controller/RecipeResults.py | 98 +++++++++++++++++++++++++++++++
lnst/Controller/RunSummaryFormatter.py | 103 +++++++++++++++++++++++++++++++++
recipes/examples/python_recipe.py | 8 +++
8 files changed, 286 insertions(+), 22 deletions(-)
create mode 100644 lnst/Controller/RecipeResults.py
create mode 100644 lnst/Controller/RunSummaryFormatter.py
--
2.16.1