chore: run smoke test in lldb

This commit is contained in:
Horror Proton
2025-10-06 17:17:12 +00:00
parent e72b6d5e24
commit b89777ec07

View File

@@ -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