mirror of
https://github.com/horizon-rust/horizon.git
synced 2026-11-07 02:56:17 -10:00
Route the separately modeled stand through HoneyBlock movement after travel. Own current Game/fresh Java gate113/126->126/126, raw exact with unchanged scripts. Canonical travel regression old-fail/fixed-pass; honey suite11pass/1ignored. Broad readiness Rust/doc builds blocked by disk; formatting and Clippy pass. Co-Authored-By: Codex <[email protected]>
29 lines
1011 B
Python
29 lines
1011 B
Python
#!/usr/bin/env python3
|
|
"""Exact armor-stand honey/stone movement through actual world ticks."""
|
|
import argparse
|
|
from pathlib import Path
|
|
import subprocess
|
|
import sys
|
|
|
|
|
|
def main():
|
|
parser = argparse.ArgumentParser(description=__doc__)
|
|
parser.add_argument('--binary', type=Path)
|
|
parser.add_argument('--reference-only', action='store_true')
|
|
parser.add_argument('--prepare', action='store_true')
|
|
args = parser.parse_args()
|
|
root = Path(__file__).resolve().parents[1]
|
|
command = [sys.executable, str(root / 'tools/test_command_exec_parity.py'),
|
|
'--armor-stand-honey-fixture', '--work-dir',
|
|
str(root / '.local/armor-stand-honey-parity')]
|
|
if args.binary:
|
|
command += ['--binary', str(args.binary.resolve())]
|
|
for name in ['reference_only', 'prepare']:
|
|
if getattr(args, name):
|
|
command.append('--' + name.replace('_', '-'))
|
|
return subprocess.run(command, cwd=root).returncode
|
|
|
|
|
|
if __name__ == '__main__':
|
|
sys.exit(main())
|