]> code.ossystems Code Review - openembedded-core.git/commitdiff
resulttool: Remove prints if no tests occur
authorJon Mason <jdmason@kudzu.us>
Mon, 3 Jun 2019 23:19:49 +0000 (19:19 -0400)
committerArmin Kuster <akuster808@gmail.com>
Fri, 14 Jun 2019 14:05:33 +0000 (07:05 -0700)
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@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
scripts/lib/resulttool/template/test_report_full_text.txt

index 6a5a081c6d19673f13bdf1bacc773e5e34226a40..17c99cb4e7388028401d19b8b96fc64fe8715bf9 100644 (file)
@@ -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 %}