[oe-commits] [openembedded-core] 02/07: resulttool: Remove prints if no tests occur
git at git.openembedded.org
git at git.openembedded.org
Tue Jun 4 10:35:42 UTC 2019
This is an automated email from the git hooks/post-receive script.
rpurdie pushed a commit to branch master-next
in repository openembedded-core.
commit 02a5a2ea0edad115605fca643ab141304cdb289c
Author: Jon Mason <jdmason at kudzu.us>
AuthorDate: Mon Jun 3 19:19:49 2019 -0400
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.
Signed-off-by: Jon Mason <jdmason at kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
scripts/lib/resulttool/template/test_report_full_text.txt | 14 +++-----------
1 file 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 6a5a081..17c99cb 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 %}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list