Commit Graph

1604 Commits

Author SHA1 Message Date
Peter Barker 28c2179a97 Tools: autotest: send SIGTERM to processes before killing them
This allows coverage atexit functions to run
2020-02-05 10:05:59 +11:00
Peter Barker 0da70fdc38 Tools: random Python cleanups based on lgtm analysis 2020-02-05 10:05:44 +11:00
Peter Barker 0eacb0e821 Tools: autotest: correct timeout on heli spline mission 2020-02-05 10:04:08 +11:00
Peter Barker 79355ba845 Tools: autotest: more coverage out of the dataflash-over-mavlink tests 2020-02-05 10:04:08 +11:00
Peter Barker bd713e0c87 Tools: autotest: add test for SITL implementation of Block backend 2020-02-05 10:04:08 +11:00
Ebin 033cd77ed4 Autotest: ATC_SPEED params for Balance Bot tweaked for better stability 2020-02-05 10:04:08 +11:00
Ebin e91a9d6128 Autotest: GPS disable test skipped when AHRS_EKF_TYPE is 10 2020-02-05 10:04:08 +11:00
Ebin 7933f94b2f Autotest: Balance Bot changes to Acro after Auto mission instead of Loiter 2020-02-05 10:04:08 +11:00
Peter Barker 678a966d4c Tools: autotest: fix for Plane receiver health test
Won't be healthy until SITL is repolled for RC input
2020-02-05 10:04:08 +11:00
Peter Barker d68c9572d9 Tools: autotest: add test for spline-as-last-waypoint 2020-02-05 10:04:08 +11:00
Peter Barker a74c97121e Tools: autotest: add basic tests for AP_AdvancedFailsafe 2020-02-05 10:04:08 +11:00
Peter Barker 56c6ba6a22 Tools: autotest: add test for follow mode 2020-02-05 10:04:08 +11:00
Andrew Tridgell b07e95aab0 Tools: use --track-origins=yes in valgrind for sim_vehicle.py
this allows us to find the original cause of an uninitialised variable
2019-09-22 21:07:43 +10:00
Peter Barker 4a35e8ee74 Tools: autotest: skip MIS_TOTAL parameter test on Tracker
This is CMD_TOTAL not MIS_TOTAL, and doesn't have facility for flags.
2019-09-14 09:26:11 +10:00
bnsgeyer 6074b1b7c9 Tools: add RPM to units list 2019-09-13 08:53:54 +09:00
Peter Barker db6896d414 Tools: autotest: add Calvert Radio Aero Modeller's Society location 2019-09-11 06:55:59 +10:00
Peter Barker da2e00dd6f Tools: autotest: fix race conditions in arm_vehicle and disarm_vehicle 2019-09-09 11:06:07 +10:00
Peter Barker ba3f95ad20 Tools: autotest: add timeout parameter to detect_and_handle_reboot 2019-09-07 17:19:22 +10:00
Randy Mackay ff72c15004 Tools: alphabetise sailboat SITL parm defaults 2019-09-01 09:11:25 +09:00
Randy Mackay 058867b12f Tools: update sailboat SITL parm defaults 2019-09-01 09:11:25 +09:00
Peter Hall baadc50c19 Tools: autotest update sailboat default params 2019-09-01 09:11:25 +09:00
Peter Barker 6206d214b8 Tools: build-with-disabled-features: flake8 compliance 2019-08-31 08:16:56 +10:00
Peter Barker 8ae9b8cc95 Tools: build-with-disabled-features: check on stm32 board 2019-08-31 08:16:56 +10:00
Peter Barker 108f37c67c Tools: autotest: ensure we can set parameters in groups with internal flag set 2019-08-30 06:57:30 +10:00
Peter Barker fba072e5fc Tools: autotest; python3 fixes 2019-08-29 08:43:45 +10:00
Peter Barker 4954c190da Tools: autotest: add test for short failsafe triggering via low-throttle 2019-08-26 19:56:54 +10:00
Andrew Tridgell 6de85c4627 Tools: fixed autotest for throttle failsafe 2019-08-26 17:20:24 +10:00
Peter Barker cce85cb418 Tools: autotest: add test for inability to set MIS_TOTAL 2019-08-22 09:23:56 +10:00
Peter Barker 984be44eea Tools: adjust reverse dependencies in build-with-disable-features.py 2019-08-21 17:27:20 +10:00
Peter Barker 479b2c5e11 Tools: autotest: allow nav-delay-abstime to delay arbitrary time 2019-08-21 16:08:24 +10:00
mhefny 42cbb370f9 Tools: add Pyramid location 2019-08-19 19:36:25 +10:00
Peter Barker c153a2d891 Tools: autotest: add test for motor test 2019-08-19 09:03:06 +09:00
Peter Barker eb705dc88c Tools: autotest: do not pass location to SITL unless user-specified 2019-08-15 18:00:35 +10:00
Peter Barker a8a5ccf51b Tools: autotest: test that long fs triggers even if short fs disabled 2019-08-15 12:07:30 +10:00
Peter Hall ac237eea4b Tools: autotest: update sailboat default params and add sailboat-motor frame 2019-08-14 09:26:01 +09:00
Anthony Velte 892ad11552 Tools: Add scrimmage simulator to sim_vehicle.py 2019-08-13 10:07:26 +10:00
Peter Barker b61bfd663f Tools: autotest: wait for EKF to be happy after returning its GPS 2019-08-12 13:12:11 +10:00
Peter Barker bf0a947317 Tools: autotest: improve test diagnostics 2019-08-08 08:35:52 +10:00
Peter Barker 4b331419e3 Tools: autotest: improve mission download diagnostics 2019-08-07 14:15:47 +10:00
Peter Barker 9aa5cedd2a Tools: autotest: increase timeout on mission_item_int
We may spend so much time parsing messages this deadline passes
2019-08-07 12:29:14 +10:00
Peter Barker 472d98dcb7 Tools: autotest: wait longer for mission acks
Nothing is adjusting the streamrates on our second mavlink port, meaning
we have to get through a lot of traffic before getting acks.
2019-08-07 12:28:57 +10:00
Peter Barker 05a48928f8 Tools: autotest: assume Tracker has AP_Stats 2019-08-07 07:57:46 +09:00
Peter Barker d68e8f4cfb Tools: autotest: wait for any message on link before requesting mission count 2019-08-07 08:39:53 +10:00
Peter Barker f896af6800 Tools: autotest: increase timeout waiting for MISSION_COUNT 2019-08-06 18:15:26 +10:00
Peter Barker acf6cb8d75 Tools: autotest: rename clear_mission to clear_mission_using_mavproxy 2019-08-06 17:05:57 +10:00
Peter Barker bca35ac469 Tools: autotest: stop trying to arm Heli in throw mode 2019-08-06 17:05:41 +10:00
Peter Barker 6896b7b302 Tools: autotest: improve tests of MISSON_ITEM compatability layer
Tools: autotest: test returned MISSION_ITEM has correct mission_type

Tools: autotest: correct spelling on mission

Tools: autotest: add sanity check for sequence number on returned items

Tools: autotest: add test that we MISSION_ACK for bad MISSION_ITEM seq

Tools: autotest: improve debug on MISSION_COUNT assertion

Tools: autotest: validate returned mission type
2019-08-06 13:58:44 +10:00
Peter Barker 16503f7f25 Tools: autotest: add test for Plane reposition 2019-08-06 12:52:09 +10:00
Peter Barker 0dfb1e858c Tools: autotest: remove ineffective sub parameter
This would be SIM_BARO_RND.

Adding randomness by default may make autotests non-repeatable.
2019-08-06 09:39:24 +10:00
Peter Barker 0805547ba6 Tools: autotest: break out roundtrip_fencepoint_protocol method 2019-08-05 18:31:27 +10:00