#!/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')