#!/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', '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', ] for name in scripts: print(f'== {name} ==', flush=True) subprocess.run([sys.executable, str(root/name)], check=True) print('ALL HOST SELFTESTS PASSED')