Files
QFT/scripts/run_all_selftests.py
T
2026-08-12 15:17:34 +08:00

25 lines
749 B
Python

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