upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/tests/test_run_gpu_tests_python_assembler.py
diff options
context:
space:
mode:
authorneoisg8 <274920706+neoisg8@users.noreply.github.com>2026-11-24 04:04:22 +0530
committerFin <fin@mace.law>2026-11-24 10:03:06 -0500
commitdc4c32ac9d6b8bcb2b3ff4d2ef1498296f27c830 (patch)
treeb4639676bcdeadc352553016527185c1dc39dbc1 /tests/test_run_gpu_tests_python_assembler.py
parent8f05e09e224656740e8a53f5047e1338d7a52588 (diff)
awc_shorts: refuse a catalog destination that aliases an input bank
ools/awc_shorts.py previously published <out>/shorts.csv without checking whether the catalog path collided with an input bank. When an input was named shorts.csv or exported into a directory of that name, publishing the catalog replaced the source input file with CSV output and exited 0. Verify upfront using same_report_path() that <out>/shorts.csv does not alias any input bank or bank export destination directory, refusing the collision with error diagnostic and exit code 2 before creating directories or exporting clips. Add regression tests covering input bank and directory export collisions. AI-assisted: yes. (cherry picked from commit 2496beffe5b1ee52e9d470c8b9f73d59d8d9e0b8)
Diffstat (limited to 'tests/test_run_gpu_tests_python_assembler.py')
0 files changed, 0 insertions, 0 deletions