upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/test/loader_test.cpp
diff options
context:
space:
mode:
authorNWX10 <179748639+NWX10@users.noreply.github.com>2026-11-21 23:00:32 +0300
committerNWX10 <179748639+NWX10@users.noreply.github.com>2026-11-21 23:00:32 +0300
commit7cc6068ab6dae2bdf98675afda259b597ca702fd (patch)
treeb7aa0d6f94b8f979127f1d2e1558f12ab8c8487c /runtime/test/loader_test.cpp
parentd51bddc84e38971c834234179080f8d00092846a (diff)
Shader stage: resume only finished steps, Windows-safe carve names, clear error on empty unpack (fixes #126)
- make_game.py: a step counts as done only when the file it writes last exists (index.json, fssm_index.json, disasm.done, spirv/index.json), not when its folder exists or holds >=1000 files. Re-running a step drops the later steps' markers so they run again. - shader_carve.py / fssm_unpack.py: write their index last, via a temp file and os.replace, so a stopped run never leaves one behind. - shader_carve.py: file names are unique without case and Windows device names (CON, NUL, COM1...) get a "_" prefix; ~N suffixes never land on a real name. - fssm_unpack.py: exit 1 with a clear message when nothing unpacks, before writing the index, instead of an IndexError. - tests/test_shader_stage_resume.py: 13 tests, standard library only. AI-assisted. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/test/loader_test.cpp')
0 files changed, 0 insertions, 0 deletions