Files
Wallenc/Report/scripts/gen_test_listings.py

20 lines
593 B
Python
Executable File
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#!/usr/bin/env python3
"""Сгенерировать Typst-листинги автотестов (аналог приложения А, только src/test и androidTest)."""
from __future__ import annotations
import subprocess
import sys
from pathlib import Path
def main() -> int:
script_dir = Path(__file__).resolve().parent
config = script_dir.parent / "listings" / "tests-listings.config.yaml"
return subprocess.call(
[sys.executable, str(script_dir / "gen_listings.py"), "--config", str(config)],
)
if __name__ == "__main__":
raise SystemExit(main())