diff options
author | Jon Mason <jdmason@kudzu.us> | 2019-06-03 19:19:49 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-06-04 23:09:24 +0100 |
commit | b6ca6ac564cb4b8c88d811690c2b7487b58f06b4 (patch) | |
tree | a324741065fb77613f9a5089d620e7825931210f /scripts/lib | |
parent | d45b583da776b5a47ace9626db916215dc988f0e (diff) | |
download | openembedded-core-contrib-b6ca6ac564cb4b8c88d811690c2b7487b58f06b4.tar.gz |
resulttool: Remove prints if no tests occur
Printing the lack of a test is not necessary (per feedback). Remove
this from the template to quieten it.
(From OE-Core rev: b1fe6ae66360e160eeaeafe456536f335a0eab60)
Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib')
-rw-r--r-- | scripts/lib/resulttool/template/test_report_full_text.txt | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/scripts/lib/resulttool/template/test_report_full_text.txt b/scripts/lib/resulttool/template/test_report_full_text.txt index 6a5a081c6d..17c99cb4e7 100644 --- a/scripts/lib/resulttool/template/test_report_full_text.txt +++ b/scripts/lib/resulttool/template/test_report_full_text.txt @@ -22,13 +22,10 @@ Test Result Status Summary (Counts/Percentages sorted by testseries, ID) {{ 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 %} -------------------------------------------------------------------------------------------------------------- -{% else %} -There was no ptest data for {{ machine }} -{% endif %} +{% endif %} {% endfor %} - {% for machine in machines %} {% if ltptests[machine] %} ============================================================================================================== @@ -41,13 +38,10 @@ There was no ptest data for {{ machine }} {{ 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 %} -------------------------------------------------------------------------------------------------------------- -{% else %} -There was no LTP Test data for {{ machine }} -{% endif %} +{% endif %} {% endfor %} - {% for machine in machines %} {% if ltpposixtests[machine] %} ============================================================================================================== @@ -60,10 +54,8 @@ There was no LTP Test data for {{ machine }} {{ 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 %} -------------------------------------------------------------------------------------------------------------- -{% else %} -There was no LTP Posix Test data for {{ machine }} -{% endif %} +{% endif %} {% endfor %} |