test_report_full_text.txt 6.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. ==============================================================================================================
  2. Test Result Status Summary (Counts/Percentages sorted by testseries, ID)
  3. ==============================================================================================================
  4. --------------------------------------------------------------------------------------------------------------
  5. {{ 'Test Series'.ljust(maxlen['testseries']) }} | {{ 'ID'.ljust(maxlen['result_id']) }} | {{ 'Passed'.ljust(maxlen['passed']) }} | {{ 'Failed'.ljust(maxlen['failed']) }} | {{ 'Skipped'.ljust(maxlen['skipped']) }}
  6. --------------------------------------------------------------------------------------------------------------
  7. {% for report in reportvalues |sort(attribute='sort') %}
  8. {{ 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']) }}
  9. {% endfor %}
  10. --------------------------------------------------------------------------------------------------------------
  11. {{ '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']) }}
  12. --------------------------------------------------------------------------------------------------------------
  13. {% for machine in machines %}
  14. {% if ptests[machine] %}
  15. ==============================================================================================================
  16. {{ machine }} PTest Result Summary
  17. ==============================================================================================================
  18. --------------------------------------------------------------------------------------------------------------
  19. {{ 'Recipe'.ljust(maxlen['ptest']) }} | {{ 'Passed'.ljust(maxlen['passed']) }} | {{ 'Failed'.ljust(maxlen['failed']) }} | {{ 'Skipped'.ljust(maxlen['skipped']) }} | {{ 'Time(s)'.ljust(10) }}
  20. --------------------------------------------------------------------------------------------------------------
  21. {% for ptest in ptests[machine] |sort %}
  22. {{ 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) }}
  23. {% endfor %}
  24. --------------------------------------------------------------------------------------------------------------
  25. {% endif %}
  26. {% endfor %}
  27. {% for machine in machines %}
  28. {% if ltptests[machine] %}
  29. ==============================================================================================================
  30. {{ machine }} Ltp Test Result Summary
  31. ==============================================================================================================
  32. --------------------------------------------------------------------------------------------------------------
  33. {{ 'Recipe'.ljust(maxlen['ltptest']) }} | {{ 'Passed'.ljust(maxlen['passed']) }} | {{ 'Failed'.ljust(maxlen['failed']) }} | {{ 'Skipped'.ljust(maxlen['skipped']) }} | {{ 'Time(s)'.ljust(10) }}
  34. --------------------------------------------------------------------------------------------------------------
  35. {% for ltptest in ltptests[machine] |sort %}
  36. {{ 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) }}
  37. {% endfor %}
  38. --------------------------------------------------------------------------------------------------------------
  39. {% endif %}
  40. {% endfor %}
  41. {% for machine in machines %}
  42. {% if ltpposixtests[machine] %}
  43. ==============================================================================================================
  44. {{ machine }} Ltp Posix Result Summary
  45. ==============================================================================================================
  46. --------------------------------------------------------------------------------------------------------------
  47. {{ 'Recipe'.ljust(maxlen['ltpposixtest']) }} | {{ 'Passed'.ljust(maxlen['passed']) }} | {{ 'Failed'.ljust(maxlen['failed']) }} | {{ 'Skipped'.ljust(maxlen['skipped']) }} | {{ 'Time(s)'.ljust(10) }}
  48. --------------------------------------------------------------------------------------------------------------
  49. {% for ltpposixtest in ltpposixtests[machine] |sort %}
  50. {{ 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) }}
  51. {% endfor %}
  52. --------------------------------------------------------------------------------------------------------------
  53. {% endif %}
  54. {% endfor %}
  55. ==============================================================================================================
  56. Failed test cases (sorted by testseries, ID)
  57. ==============================================================================================================
  58. {% if havefailed %}
  59. --------------------------------------------------------------------------------------------------------------
  60. {% for report in reportvalues |sort(attribute='sort') %}
  61. {% if report.failed_testcases %}
  62. testseries | result_id : {{ report.testseries }} | {{ report.result_id }}
  63. {% for testcase in report.failed_testcases %}
  64. {{ testcase }}
  65. {% endfor %}
  66. {% endif %}
  67. {% endfor %}
  68. --------------------------------------------------------------------------------------------------------------
  69. {% else %}
  70. There were no test failures
  71. {% endif %}