summaryrefslogtreecommitdiffstats
path: root/scripts
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-18 11:28:58 +0100
commit0ab13d1a2cf20528f66d177e37dce4efd9fe9019 (patch)
tree4a52aff06eb40e895b8a6031b700a75b6135b7b6 /scripts
parent6d26364a7e5264d30e4b1f78da8b135d227ed46c (diff)
downloadpoky-0ab13d1a2cf20528f66d177e37dce4efd9fe9019.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: 2e34b73b97154dd136881f214db8001f9b6a9934) 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> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-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