Skip to content

Commit 707e538

Browse files
committed
templates: Break out build/test summaries
Signed-off-by: Abdulwasiu Apalowo <bazzanapalowo@gmail.com>
1 parent 4d7f993 commit 707e538

File tree

3 files changed

+5
-8
lines changed

3 files changed

+5
-8
lines changed

kcidb/templates/build_description.txt.j2

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ OVERVIEW
1313

1414
Build: {{ misc_macros.valid_badge(build.valid) }}
1515
{% if build.tests %}
16-
Tests: {{ test_macros.waived_status_badge(build.tests_root.waived,
17-
build.tests_root.status) }}
16+
Tests: {{ test_macros.test_status(build.tests_root.waived_status_nodes) }}
1817
{% endif %}
1918

2019
BUILD

kcidb/templates/checkout_description.txt.j2

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,10 @@ OVERVIEW
1313

1414
Checkout: {{ misc_macros.valid_badge(checkout.valid) }}
1515
{% if checkout.builds %}
16-
Builds: {{ misc_macros.valid_badge(checkout.builds_valid) }}
16+
Builds: {{ build_macros.build_status(checkout.builds) }}
1717
{% endif %}
1818
{% if checkout.tests %}
19-
Tests: {{ test_macros.waived_status_badge(checkout.tests_root.waived,
20-
checkout.tests_root.status) }}
19+
Tests: {{ test_macros.test_status(checkout.tests_root.waived_status_nodes) }}
2120
{% endif %}
2221

2322
CHECKOUT

kcidb/templates/revision_description.txt.j2

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,10 @@ OVERVIEW
1515
Patches: {{ misc_macros.valid_badge(revision.checkouts_valid) }}
1616
{% endif %}
1717
{% if revision.builds %}
18-
Builds: {{ misc_macros.valid_badge(revision.builds_valid) }}
18+
Builds: {{ build_macros.build_status(revision.builds) }}
1919
{% endif %}
2020
{% if revision.tests %}
21-
Tests: {{ test_macros.waived_status_badge(revision.tests_root.waived,
22-
revision.tests_root.status) }}
21+
Tests: {{ test_macros.test_status(revision.tests_root.waived_status_nodes) }}
2322
{% endif %}
2423

2524
REVISION

0 commit comments

Comments
 (0)