12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879 |
- ==============================================================================================================
- Test Result Status Summary (Counts/Percentages sorted by testseries, ID)
- ==============================================================================================================
- --------------------------------------------------------------------------------------------------------------
- {{ 'Test Series'.ljust(maxlen['testseries']) }} | {{ 'ID'.ljust(maxlen['result_id']) }} | {{ 'Passed'.ljust(maxlen['passed']) }} | {{ 'Failed'.ljust(maxlen['failed']) }} | {{ 'Skipped'.ljust(maxlen['skipped']) }}
- --------------------------------------------------------------------------------------------------------------
- {% for report in reportvalues |sort(attribute='sort') %}
- {{ report.testseries.ljust(maxlen['testseries']) }} | {{ report.result_id.ljust(maxlen['result_id']) }} | {{ (report.passed|string).ljust(maxlen['passed']) }} | {{ (report.failed|string).ljust(maxlen['failed']) }} | {{ (report.skipped|string).ljust(maxlen['skipped']) }}
- {% endfor %}
- --------------------------------------------------------------------------------------------------------------
- {{ 'Total'.ljust(maxlen['testseries']) }} | {{ reporttotalvalues['count'].ljust(maxlen['result_id']) }} | {{ reporttotalvalues['passed'].ljust(maxlen['passed']) }} | {{ reporttotalvalues['failed'].ljust(maxlen['failed']) }} | {{ reporttotalvalues['skipped'].ljust(maxlen['skipped']) }}
- --------------------------------------------------------------------------------------------------------------
- {% for machine in machines %}
- {% if ptests[machine] %}
- ==============================================================================================================
- {{ machine }} PTest Result Summary
- ==============================================================================================================
- --------------------------------------------------------------------------------------------------------------
- {{ 'Recipe'.ljust(maxlen['ptest']) }} | {{ 'Passed'.ljust(maxlen['passed']) }} | {{ 'Failed'.ljust(maxlen['failed']) }} | {{ 'Skipped'.ljust(maxlen['skipped']) }} | {{ 'Time(s)'.ljust(10) }}
- --------------------------------------------------------------------------------------------------------------
- {% for ptest in ptests[machine] |sort %}
- {{ ptest.ljust(maxlen['ptest']) }} | {{ (ptests[machine][ptest]['passed']|string).ljust(maxlen['passed']) }} | {{ (ptests[machine][ptest]['failed']|string).ljust(maxlen['failed']) }} | {{ (ptests[machine][ptest]['skipped']|string).ljust(maxlen['skipped']) }} | {{ (ptests[machine][ptest]['duration']|string) }}
- {% endfor %}
- --------------------------------------------------------------------------------------------------------------
- {% endif %}
- {% endfor %}
- {% for machine in machines %}
- {% if ltptests[machine] %}
- ==============================================================================================================
- {{ machine }} Ltp Test Result Summary
- ==============================================================================================================
- --------------------------------------------------------------------------------------------------------------
- {{ 'Recipe'.ljust(maxlen['ltptest']) }} | {{ 'Passed'.ljust(maxlen['passed']) }} | {{ 'Failed'.ljust(maxlen['failed']) }} | {{ 'Skipped'.ljust(maxlen['skipped']) }} | {{ 'Time(s)'.ljust(10) }}
- --------------------------------------------------------------------------------------------------------------
- {% for ltptest in ltptests[machine] |sort %}
- {{ ltptest.ljust(maxlen['ltptest']) }} | {{ (ltptests[machine][ltptest]['passed']|string).ljust(maxlen['passed']) }} | {{ (ltptests[machine][ltptest]['failed']|string).ljust(maxlen['failed']) }} | {{ (ltptests[machine][ltptest]['skipped']|string).ljust(maxlen['skipped']) }} | {{ (ltptests[machine][ltptest]['duration']|string) }}
- {% endfor %}
- --------------------------------------------------------------------------------------------------------------
- {% endif %}
- {% endfor %}
- {% for machine in machines %}
- {% if ltpposixtests[machine] %}
- ==============================================================================================================
- {{ machine }} Ltp Posix Result Summary
- ==============================================================================================================
- --------------------------------------------------------------------------------------------------------------
- {{ 'Recipe'.ljust(maxlen['ltpposixtest']) }} | {{ 'Passed'.ljust(maxlen['passed']) }} | {{ 'Failed'.ljust(maxlen['failed']) }} | {{ 'Skipped'.ljust(maxlen['skipped']) }} | {{ 'Time(s)'.ljust(10) }}
- --------------------------------------------------------------------------------------------------------------
- {% for ltpposixtest in ltpposixtests[machine] |sort %}
- {{ ltpposixtest.ljust(maxlen['ltpposixtest']) }} | {{ (ltpposixtests[machine][ltpposixtest]['passed']|string).ljust(maxlen['passed']) }} | {{ (ltpposixtests[machine][ltpposixtest]['failed']|string).ljust(maxlen['failed']) }} | {{ (ltpposixtests[machine][ltpposixtest]['skipped']|string).ljust(maxlen['skipped']) }} | {{ (ltpposixtests[machine][ltpposixtest]['duration']|string) }}
- {% endfor %}
- --------------------------------------------------------------------------------------------------------------
- {% endif %}
- {% endfor %}
- ==============================================================================================================
- Failed test cases (sorted by testseries, ID)
- ==============================================================================================================
- {% if havefailed %}
- --------------------------------------------------------------------------------------------------------------
- {% for report in reportvalues |sort(attribute='sort') %}
- {% if report.failed_testcases %}
- testseries | result_id : {{ report.testseries }} | {{ report.result_id }}
- {% for testcase in report.failed_testcases %}
- {{ testcase }}
- {% endfor %}
- {% endif %}
- {% endfor %}
- --------------------------------------------------------------------------------------------------------------
- {% else %}
- There were no test failures
- {% endif %}
|