diff options
author | Armin Kuster <akuster808@gmail.com> | 2019-04-22 06:32:38 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-06-18 11:28:58 +0100 |
commit | 937b52a3107e4acae2f37b3c3401077ab496985c (patch) | |
tree | 72224d19c0267371b0a5a26c41dda4f7d023680f /scripts/lib/resulttool/template/test_report_full_text.txt | |
parent | 913df0de3515a9b3dc28b0de1a6c352aba510916 (diff) | |
download | poky-937b52a3107e4acae2f37b3c3401077ab496985c.tar.gz |
resulttool: add ltp test support
(From OE-Core rev: 60e5b81d90a3a0bcaad6ea407d9aebdc99d4a80b)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/resulttool/template/test_report_full_text.txt')
-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 | ============================================================================================================== |