Files
ardupilot/Tools
Peter BarkerandClaude Fable 5 23d2a1aab1 autotest: fix reporting of timeouts occurring outside tests
A pexpect timeout raised before the test loop had started - during
init, for example - crashed run_tests' exception handler with an
UnboundLocalError on the loop variable, masking the actual failure.
Bind a placeholder first so such timeouts are reported as what they
are.

This is what turned test.BattCAN's peripheral startup panic into
"cannot access local variable 'test'".

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-25 08:29:54 +10:00
..
2026-08-20 08:47:04 +09:00