mirror of
https://github.com/azaion/gps-denied-onboard.git
synced 2026-06-21 22:21:13 +00:00
[AZ-615] run-tests-jetson: BSD rsync compat (no --info=progress2)
macOS ships BSD rsync, which doesn't support GNU's --info=progress2. Drop the flag (added --stats so we still get a summary at the end) and document the LFS-pointer pre-smudge requirement that bit during the first end-to-end attempt. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -67,11 +67,18 @@ echo "[run-tests-jetson] compose file: ${COMPOSE_FILE}"
|
||||
# * .DS_Store — macOS metadata
|
||||
# * *.tlog / *.bin / *.engine — large fixtures that exist on Jetson
|
||||
# either via a separate fixture-sync step or are produced by the SUT
|
||||
# Git LFS pointers (134 B files) DO transfer — they're text. The
|
||||
# Jetson runs `git lfs pull` lazily for any LFS-tracked fixture it
|
||||
# actually needs.
|
||||
# Note on LFS-tracked fixtures (e.g. flight_derkachi.mp4): Git LFS
|
||||
# pointers (134-byte text files) transfer fine, but the SUT needs the
|
||||
# real binary. The convention on the Mac side is to smudge the pointer
|
||||
# locally BEFORE running this script (e.g. `git lfs pull`, or copy
|
||||
# from `.git/lfs/objects/<sha>/...`). rsync then transfers the actual
|
||||
# bytes. If a fixture arrives as a pointer the test will fail-fast
|
||||
# with "Derkachi fixture missing".
|
||||
#
|
||||
# Flags note: macOS ships BSD rsync, which doesn't support GNU's
|
||||
# `--info=progress2`. Stick to the portable subset.
|
||||
echo "[run-tests-jetson] rsync → ${SSH_ALIAS}:${REMOTE_DIR}/"
|
||||
rsync -avz --delete \
|
||||
rsync -az --delete --stats \
|
||||
--exclude=.git/ \
|
||||
--exclude='__pycache__/' \
|
||||
--exclude='*.pyc' \
|
||||
|
||||
Reference in New Issue
Block a user