mirror of
https://github.com/azaion/gps-denied-onboard.git
synced 2026-06-22 22:41:13 +00:00
[AZ-233] Add blackbox replay infrastructure
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -1,17 +1,12 @@
|
||||
"""Black-box runner entry point.
|
||||
"""Black-box runner entry point."""
|
||||
|
||||
Future scenarios should call only public runtime inputs and outputs: replay frames,
|
||||
telemetry, offline cache, MAVLink output, status events, and FDR artifacts.
|
||||
"""
|
||||
from collections.abc import Sequence
|
||||
|
||||
from pathlib import Path
|
||||
from e2e.replay.harness import main as replay_main
|
||||
|
||||
|
||||
def main() -> int:
|
||||
reports_dir = Path("data/test-results")
|
||||
reports_dir.mkdir(parents=True, exist_ok=True)
|
||||
(reports_dir / "blackbox_smoke.txt").write_text("blackbox scaffold ready\n", encoding="utf-8")
|
||||
return 0
|
||||
def main(argv: Sequence[str] | None = None) -> int:
|
||||
return replay_main(argv)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
Reference in New Issue
Block a user