- gr2: BitKnit2 decompression, 64-bit LE files, compressed curves - net: remaining GamePhase handlers, generated GC packet table - python: event/chat/chr/minimap/guild/quest/messenger/shop-search and other native modules ported against the AVA2 Windows client - render: D3D8 fixed-function lighting in Gr2ModelRenderer, terrain without baked shade; cape/NPC equipment attachment - tests + audits updated; docs/PORT-PLAN.md and WINDOWS-PARITY.md Batch 4 (render pipeline: background.*, app.RenderGame/UpdateGame, camera bindings, main.cpp fake-content removal) is still in progress. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
16 lines
572 B
Python
16 lines
572 B
Python
#!/usr/bin/env python3
|
|
"""Reject original Python scripts that exit(0) before completing a test.
|
|
Both a successful process exit and the test's final marker are required.
|
|
"""
|
|
import subprocess
|
|
import sys
|
|
|
|
marker, *command = sys.argv[1:]
|
|
result = subprocess.run(command, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
|
|
sys.stdout.buffer.write(result.stdout)
|
|
if result.returncode:
|
|
sys.exit(result.returncode if result.returncode > 0 else 1)
|
|
if marker.encode() not in result.stdout:
|
|
print("Test stopped before its completion marker", file=sys.stderr)
|
|
sys.exit(1)
|