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 <thilofromm@microsoft.com>
This commit is contained in:
Thilo Fromm 2025-12-17 12:38:25 +01:00
parent 6ab1f01719
commit 7408886859

View File

@ -279,18 +279,18 @@ __md_print_test_verdict() {
local failed_vendors="$4"
v="![${verdict}](https://via.placeholder.com/50x20/00ff00/000000?text=PASS)"
v="🟢 ${verdict}"
if [ "${verdict}" = "not ok" ] ; then
v="![${verdict}](https://via.placeholder.com/50x20/ff0000/ffffff?text=FAIL)"
v="${verdict}"
fi
echo
echo -n "${v} **${name}**"
if [ -n "${succeded_vendors}" ] ; then
echo -n " 🟢 Succeeded: ${succeded_vendors}"
echo -n "; Succeeded: ${succeded_vendors}"
fi
if [ -n "${failed_vendors}" ] ; then
echo -n " Failed: ${failed_vendors}"
echo -n "; Failed: ${failed_vendors}"
fi
echo
if [ "${verdict}" = "not ok" ] \