From 0b4f57b547819c402e11e5d9cf327251b2b0fe80 Mon Sep 17 00:00:00 2001 From: Constrat <56174894+Constrat@users.noreply.github.com> Date: Wed, 11 Feb 2026 22:50:05 +0100 Subject: [PATCH] ci: color [INF] for smoke testing as well --- tools/SmokeTesting/run_tests.ps1 | 2 ++ tools/SmokeTesting/run_tests.sh | 3 +++ tools/SmokeTesting/run_tests.zsh | 2 ++ 3 files changed, 7 insertions(+) diff --git a/tools/SmokeTesting/run_tests.ps1 b/tools/SmokeTesting/run_tests.ps1 index 187596320e..a2b083e885 100644 --- a/tools/SmokeTesting/run_tests.ps1 +++ b/tools/SmokeTesting/run_tests.ps1 @@ -35,6 +35,8 @@ if ($error_client.Count -gt 0) { Get-Content ./install/debug/asst_$client.log | ForEach-Object { if ($_ -match $pattern) { Write-Host $_ -ForegroundColor DarkRed + } elseif ($_ -match "[INF]") { + Write-Host $_ -ForegroundColor Cyan } else { Write-Host $_ } diff --git a/tools/SmokeTesting/run_tests.sh b/tools/SmokeTesting/run_tests.sh index 0823aa5f33..dd14d64719 100755 --- a/tools/SmokeTesting/run_tests.sh +++ b/tools/SmokeTesting/run_tests.sh @@ -43,6 +43,9 @@ if [ -n "$error_clients" ]; then *"[ERR]"*) printf "\033[31m%s\033[0m\n" "$line" ;; + *"[INF]"*) + printf "\033[36m%s\033[0m\n" "$line" + ;; *) echo "$line" ;; diff --git a/tools/SmokeTesting/run_tests.zsh b/tools/SmokeTesting/run_tests.zsh index 2b90016d33..531a03838e 100755 --- a/tools/SmokeTesting/run_tests.zsh +++ b/tools/SmokeTesting/run_tests.zsh @@ -36,6 +36,8 @@ if [[ ${#error_clients} -gt 0 ]]; then while IFS= read -r line; do if [[ "$line" == *"[ERR]"* ]]; then print -P "%F{red}${line}%f" + elif [[ "$line" == *"[INF]"* ]]; then + print -P "%F{cyan}${line}%f" else echo "$line" fi