mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-10-02 10:23:25 +08:00
Thirteen cases over the shapes the build directories actually take: lower-cased lookups of AP_Periph and AP_Bootloader, disco's bare ELF, a differing .bin not being overridden by a matching ELF, and the strip fallback receiving the toolchain it was given. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Tests
Caution
pytest tests/will be run in GitHub Actions.
All Python files in this directory that meet pytest discovery rules will be examined by pytest and all tests that it finds will be run.
Files of the form test_*.py or *_test.py should avoid code at global scope because it will be executed in pytest's discovery process. Classes, functions, and code in if __name__ == "__main__": blocks will not be run in this discovery process, but code at global scope (including imports) will.