summaryrefslogtreecommitdiffstats
path: root/scripts/lib
diff options
context:
space:
mode:
authorJon Mason <jdmason@kudzu.us>2019-06-03 19:19:49 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-06-04 23:09:24 +0100
commitb6ca6ac564cb4b8c88d811690c2b7487b58f06b4 (patch)
treea324741065fb77613f9a5089d620e7825931210f /scripts/lib
parentd45b583da776b5a47ace9626db916215dc988f0e (diff)
downloadpoky-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.txt14
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)
22{{ 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) }} 22{{ 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) }}
23{% endfor %} 23{% endfor %}
24-------------------------------------------------------------------------------------------------------------- 24--------------------------------------------------------------------------------------------------------------
25{% else %}
26There was no ptest data for {{ machine }}
27{% endif %}
28 25
26{% endif %}
29{% endfor %} 27{% endfor %}
30 28
31
32{% for machine in machines %} 29{% for machine in machines %}
33{% if ltptests[machine] %} 30{% if ltptests[machine] %}
34============================================================================================================== 31==============================================================================================================
@@ -41,13 +38,10 @@ There was no ptest data for {{ machine }}
41{{ 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) }} 38{{ 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) }}
42{% endfor %} 39{% endfor %}
43-------------------------------------------------------------------------------------------------------------- 40--------------------------------------------------------------------------------------------------------------
44{% else %}
45There was no LTP Test data for {{ machine }}
46{% endif %}
47 41
42{% endif %}
48{% endfor %} 43{% endfor %}
49 44
50
51{% for machine in machines %} 45{% for machine in machines %}
52{% if ltpposixtests[machine] %} 46{% if ltpposixtests[machine] %}
53============================================================================================================== 47==============================================================================================================
@@ -60,10 +54,8 @@ There was no LTP Test data for {{ machine }}
60{{ 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) }} 54{{ 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) }}
61{% endfor %} 55{% endfor %}
62-------------------------------------------------------------------------------------------------------------- 56--------------------------------------------------------------------------------------------------------------
63{% else %}
64There was no LTP Posix Test data for {{ machine }}
65{% endif %}
66 57
58{% endif %}
67{% endfor %} 59{% endfor %}
68 60
69 61