#!/usr/bin/env python3 """Overnight firmware test of one micrOBU board on a USB port (station-link, revision 3). py -3.11 obu-firmware/test/bench/run_overnight.py COM6 --hours 8 --provision-demo # COM6 = the spare board; 'auto' if only one is plugged in py -3.11 obu-firmware/test/bench/run_overnight.py COM6 --quick # about 8 minutes, to see that it works py -3.11 obu-firmware/test/bench/run_overnight.py COM6 --hours 8 --no-tx # nothing on the air: protocol, fuzz, idle (start_overnight.ps1 wraps this with flashing, the host C tests and keep-awake.) It refuses a board whose firmware is not this checkout's HEAD, because the results would describe another build. What it does, in order (details in README.md): 1. conformance the link protocol against the spec and the source, on a freshly reset board 2. cycles repeated until the time is up: transmit soak unsigned -> transmit soak signed (needs a ticket) -> capture-mode toggling -> reconfigure churn -> link fuzz (unconfigured board, never on air) -> resets -> idle listening 3. conformance again, to see that nothing drifted 4. report results/overnight-