mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-10-06 19:00:27 +08:00
restart_SITL_frame() called build_SITL_frame() with none of the options the suite was built with, so the frame binaries were configured without --debug, --num-aux-imus and the rest. The binary under test then no longer matched the suite's configuration, and CI - whose ccache holds --debug objects - rebuilt both firmwares from scratch inside the test: DroneCANCompass sitl 8m19s + sitl_periph_universal 3m51s of 743s CircuitStatusScript sitl 5m51s + sitl_periph_universal 2m43s of 520s It also left build/sitl configured without --debug for later tests. Pass the suite's build options through, as the Replay tool build already does. PPPPeriph no longer needs to ask for --debug itself.