Skip to content
This repository has been archived by the owner on May 25, 2020. It is now read-only.

Commit

Permalink
Provide test details in the report
Browse files Browse the repository at this point in the history
Add an explanation in reports that explains which tasks were ran during
hardware testin. Failed tasks are displayed earlier in the report, so
the list at the end should just be a full list of tasks ran.

Signed-off-by: Major Hayden <major@redhat.com>
  • Loading branch information
major authored and spbnick committed Nov 6, 2018
1 parent 23a7693 commit 9f70e01
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
7 changes: 7 additions & 0 deletions skt/templates/base.j2
Expand Up @@ -77,3 +77,10 @@ Compile testing
---------------
{% include "partials/build_details.j2" %}
{% endif %}
{# Explain what we built if we made it to the compile steps. #}
{% if report_jobs %}

Hardware testing
----------------
{% include "partials/test_details.j2" %}
{% endif %}
15 changes: 15 additions & 0 deletions skt/templates/partials/test_details.j2
@@ -0,0 +1,15 @@

We booted the compiled kernel and ran the following hardware tests:

{% for job in report_jobs %}
{{ job.kernel_arch }}:
{% for test_result in job.test_results %}
{% for task in test_result.passed_tasks %}
{{ task }}
{% endfor %}
{% for task in test_result.failed_tasks %}
{{ task.name }}
{% endfor %}
{% endfor %}

{% endfor %}

0 comments on commit 9f70e01

Please sign in to comment.