Files
QFT/scripts/run_all_selftests.py
T
2026-08-10 15:45:04 +08:00

18 lines
527 B
Python

#!/usr/bin/env python3
import subprocess, sys
from pathlib import Path
root = Path(__file__).resolve().parent
scripts = [
'protocol_selftest.py',
'pairing_selftest.py',
'parallel_upload_selftest.py',
'udp_discovery_selftest.py',
'local_transfer_integration_selftest.py',
'memory_budget_selftest.py',
'android_compat_selftest.py',
]
for name in scripts:
print(f'== {name} ==', flush=True)
subprocess.run([sys.executable, str(root/name)], check=True)
print('ALL CORE PYTHON SELFTESTS PASSED')