Skip to content

Commit f5b6802

Browse files
committed
ci-automation: fix broken result indicators in test reports
The CI automation test report library used embedded images to indicate test success / failures. The URL these images were referenced from has gone AWOL some time ago, resulting in ugly "missing image" references in test reports. This change updates the test result indicator code to only use emojis. Signed-off-by: Thilo Fromm <[email protected]>
1 parent 7f128bc commit f5b6802

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ci-automation/tapfile_helper_lib.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -279,18 +279,18 @@ __md_print_test_verdict() {
279279
local failed_vendors="$4"
280280

281281

282-
v="![${verdict}](https://via.placeholder.com/50x20/00ff00/000000?text=PASS)"
282+
v="🟢 ${verdict}"
283283
if [ "${verdict}" = "not ok" ] ; then
284-
v="![${verdict}](https://via.placeholder.com/50x20/ff0000/ffffff?text=FAIL)"
284+
v="${verdict}"
285285
fi
286286

287287
echo
288288
echo -n "${v} **${name}**"
289289
if [ -n "${succeded_vendors}" ] ; then
290-
echo -n " 🟢 Succeeded: ${succeded_vendors}"
290+
echo -n "; Succeeded: ${succeded_vendors}"
291291
fi
292292
if [ -n "${failed_vendors}" ] ; then
293-
echo -n " Failed: ${failed_vendors}"
293+
echo -n "; Failed: ${failed_vendors}"
294294
fi
295295
echo
296296
if [ "${verdict}" = "not ok" ] \

0 commit comments

Comments
 (0)