all repos — xyw @ e661f8f5a8df59e16980a9f5203f2614dca2b4c2

A minimal virtual machine and assembler for terminals.

macos-specific fixes.
h3rald h3rald@h3rald.com
Mon, 03 Aug 2026 17:47:34 +0200
commit

e661f8f5a8df59e16980a9f5203f2614dca2b4c2

parent

e3317a126843819bef8cfe519a88082887fcec51

1 files changed, 3 insertions(+), 3 deletions(-)

jump to
M test.shtest.sh

@@ -116,7 +116,7 @@ need_file "$EXAMPLES_DIR/$img_basename"

local run_log="$TMPDIR/run.${img_basename}.log" local rc=0 - (cd "$EXAMPLES_DIR" && "$xyw_bin" "$img_basename" "${run_args[@]}" >"$out_file" 2>"$run_log") || rc=$? + (cd "$EXAMPLES_DIR" && "$xyw_bin" "$img_basename" "${run_args[@]+"${run_args[@]}"}" >"$out_file" 2>"$run_log") || rc=$? LAST_EXIT_CODE="$rc" LAST_STDERR_FILE="$run_log"

@@ -312,10 +312,10 @@ else

ALLOW_NONZERO_EXIT="0" fi - run_image_capture_stdout "$XYW_BIN" "$img_basename" "$raw_out" "${run_args[@]}" + run_image_capture_stdout "$XYW_BIN" "$img_basename" "$raw_out" "${run_args[@]+"${run_args[@]}"}" normalize_crlf "$raw_out" "$norm_out" - "$assert_fn" "$norm_out" "${assert_args[@]}" + "$assert_fn" "$norm_out" "${assert_args[@]+"${assert_args[@]}"}" echo "-> PASS: $src_basename" }