From b89777ec07b90cd2be48c4f4fe5b63efffd3d23e Mon Sep 17 00:00:00 2001 From: Horror Proton <107091537+horror-proton@users.noreply.github.com> Date: Mon, 6 Oct 2025 17:17:12 +0000 Subject: [PATCH] chore: run smoke test in lldb --- tools/SmokeTesting/run_tests.zsh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tools/SmokeTesting/run_tests.zsh b/tools/SmokeTesting/run_tests.zsh index 2b90016d33..2b220bb882 100755 --- a/tools/SmokeTesting/run_tests.zsh +++ b/tools/SmokeTesting/run_tests.zsh @@ -12,7 +12,8 @@ client_map=() for client in "${clients[@]}"; do echo "Starting test for $client" - ./install/smoke_test "$client" > "$log_dir/asst_${client}.log" 2>&1 & + lldb -o run -o 'bt all' -o kill -o quit \ + -- ./install/smoke_test "$client" > "$log_dir/asst_${client}.log" 2>&1 & pids+=($!) client_map+=("$client") done @@ -21,7 +22,8 @@ for i in {0..$(( ${#pids} - 1 ))}; do pid=${pids[$i]} client=${client_map[$i]} - if ! wait $pid; then + wait $pid + if [[ -n "$client" ]] && ! grep 'exited with status = 0' "$log_dir/asst_${client}.log"; then error_clients+=("$client") fi done