mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 11:10:45 +00:00
test: parallelize docker aggregate
This commit is contained in:
@@ -4,7 +4,7 @@ run_logged() {
|
||||
local label="$1"
|
||||
shift
|
||||
local log_file
|
||||
log_file="$(mktemp "${TMPDIR:-/tmp}/openclaw-${label}.XXXXXX.log")"
|
||||
log_file="$(mktemp "${TMPDIR:-/tmp}/openclaw-${label}.XXXXXX").log"
|
||||
if ! "$@" >"$log_file" 2>&1; then
|
||||
cat "$log_file"
|
||||
rm -f "$log_file"
|
||||
|
||||
@@ -163,6 +163,18 @@ openclaw_live_join_csv() {
|
||||
done
|
||||
}
|
||||
|
||||
openclaw_live_append_array() {
|
||||
local target_array="${1:?target array required}"
|
||||
local source_array="${2:?source array required}"
|
||||
local count
|
||||
|
||||
eval "count=\${#$source_array[@]}"
|
||||
if ((count == 0)); then
|
||||
return 0
|
||||
fi
|
||||
eval "$target_array+=(\"\${$source_array[@]}\")"
|
||||
}
|
||||
|
||||
openclaw_live_stage_auth_into_home() {
|
||||
local dest_home="${1:?destination home directory required}"
|
||||
shift
|
||||
|
||||
Reference in New Issue
Block a user