diff options
| author | Armin Kuster <akuster808@gmail.com> | 2019-04-22 06:32:38 -0600 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-04-29 14:16:30 +0100 |
| commit | 9c820850369aa0d53298291d3c77526d1817becd (patch) | |
| tree | 27da14e82977d05e3387201567cff17651bec513 /scripts/lib/resulttool/template | |
| parent | 244cbcce0ecc4691a9ddfb0a44dc487ff7af0670 (diff) | |
| download | poky-9c820850369aa0d53298291d3c77526d1817becd.tar.gz | |
resulttool: add ltp test support
(From OE-Core rev: 966795aa2c6960aca11a04e87f415256faf26957)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/resulttool/template')
| -rw-r--r-- | scripts/lib/resulttool/template/test_report_full_text.txt | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/scripts/lib/resulttool/template/test_report_full_text.txt b/scripts/lib/resulttool/template/test_report_full_text.txt index 590f35c7dd..6ecd5bce59 100644 --- a/scripts/lib/resulttool/template/test_report_full_text.txt +++ b/scripts/lib/resulttool/template/test_report_full_text.txt | |||
| @@ -25,6 +25,23 @@ PTest Result Summary | |||
| 25 | There was no ptest data | 25 | There was no ptest data |
| 26 | {% endif %} | 26 | {% endif %} |
| 27 | 27 | ||
| 28 | {% if haveltp %} | ||
| 29 | ============================================================================================================== | ||
| 30 | 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 |sort %} | ||
| 36 | {{ ltptest.ljust(maxlen['ltptest']) }} | {{ (ltptests[ltptest]['passed']|string).ljust(maxlen['passed']) }} | {{ (ltptests[ltptest]['failed']|string).ljust(maxlen['failed']) }} | {{ (ltptests[ltptest]['skipped']|string).ljust(maxlen['skipped']) }} | {{ (ltptests[ltptest]['duration']|string) }} | ||
| 37 | {% endfor %} | ||
| 38 | -------------------------------------------------------------------------------------------------------------- | ||
| 39 | |||
| 40 | {% else %} | ||
| 41 | There was no LTP Test data | ||
| 42 | {% endif %} | ||
| 43 | |||
| 44 | |||
| 28 | ============================================================================================================== | 45 | ============================================================================================================== |
| 29 | Failed test cases (sorted by testseries, ID) | 46 | Failed test cases (sorted by testseries, ID) |
| 30 | ============================================================================================================== | 47 | ============================================================================================================== |
