upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/test/gameinput_probe.cpp
diff options
context:
space:
mode:
authoreIBart0 <eIBart0@users.noreply.github.com>2026-11-22 00:26:48 +0000
committereIBart0 <eIBart0@users.noreply.github.com>2026-11-22 00:26:48 +0000
commit05eedea4d3eadedc61e2daabac7866c2997c1dec (patch)
tree14f918e8fcd8ad8c00eab9efd7041ce63cf29e48 /runtime/test/gameinput_probe.cpp
parent91b36cf86cb92a95836eed8af73abc0671a61e31 (diff)
navmesh_index: validate dir/archive CLI options and close mmap cleanly
Follow-up to #498 for tools/navmesh_index.py (refs #374): - Reject --start and --limit when input is a directory (exit code 2, before scanning or writing output). - Default --pattern to None (resolving to *.bin in scan_directory) and reject explicit --pattern in archive mode (exit code 2, before opening or scanning). - Wrap mmap.mmap in scan_archive with a context manager so the mapping is closed on both normal return and SystemExit. - Add unit tests covering directory/archive option validation and mmap cleanup.
Diffstat (limited to 'runtime/test/gameinput_probe.cpp')
0 files changed, 0 insertions, 0 deletions