Commit Graph

3103 Commits

Author SHA1 Message Date
Randy Mackay 74ae42eaca autotest: relax Copter vibration failsafe timeout 2023-08-16 09:54:47 +09:00
Leonard Hall ca0ad141f9 AutoTest: Remove extra line 2023-03-26 11:57:57 +09:00
Pierre Kancir 0a8c6b5a85 Tools: fix flake8 checks 2023-03-26 11:57:57 +09:00
Andrew Tridgell 4fba56d228 autotest: added AltResetBadGPS test
this tests the bug in handling a glitching GPS with low accuracy with
AHRS alt reset
2023-03-02 15:01:23 +09:00
Peter Barker 89061930ac autotest: fix warning about deprecated distutils.dir_utils.copy_tree 2022-12-10 10:38:06 +09:00
Randy Mackay c93bf99fa5 Tools: balancebot test does not set ATC_BAL_SPD_FF
also update autotest balance bot tuning
2022-11-21 18:48:49 +09:00
Willian Galvani 3777e4d082 Tools: attempt to fix Sub flapping test 2022-10-24 22:23:43 +09:00
Reilly Callaway 2794b36fdb Tools: Add kg per cubic meter unit metadata 2022-10-04 16:50:15 +09:00
Paul Riseborough d27c3bca38 Tools: Use a more typical wind speed for the PitotBlockage autotest 2022-10-04 16:50:15 +09:00
Paul Riseborough 052aefd8e6 Tolls/autotest: Fix Flake8 style check fails 2022-10-04 16:50:15 +09:00
Paul Riseborough 3981b6b5b3 Tools/autotest: fail pitot tube at start of takeoff 2022-10-04 16:50:15 +09:00
Paul Riseborough 290ff07c0b Tools/autotest: rework arming and takeoff mode change order
Co-authored-by: Peter Barker <pb-gh@barker.dropbear.id.au>
2022-10-04 16:50:15 +09:00
Paul Riseborough 8fbea44afd Tools/autotest: Use clearer method of setting parameters
Co-authored-by: Peter Barker <pb-gh@barker.dropbear.id.au>
2022-10-04 16:50:15 +09:00
Paul Riseborough 44abc1184c Tools: Python coding style fixes 2022-10-04 16:50:15 +09:00
Paul Riseborough 86cb341173 Tools: Add partial unblockage to pitot blockage test 2022-10-04 16:50:15 +09:00
Paul Riseborough 2a31cd7ca0 Tools: Add autotest for pitot tube blockage handling 2022-10-04 16:50:15 +09:00
Peter Barker 80466dc088 autotest: check target system on return mission_item_int packets 2022-10-04 16:50:15 +09:00
Andrew Tridgell 36c88661c8 autotest: added a test for EKF lane change in GUIDED
an EKF lane change when the two lanes are using different GPS should
not cause a height change in GUIDED
2022-10-04 16:50:15 +09:00
Andrew Tridgell 971c57e679 autotest: move do_aux_function to common 2022-10-04 16:50:15 +09:00
m f6ebbdcca1 autotest: Fix watch_altitude_maintained for Copter 2022-09-13 14:20:02 +09:00
Peter Barker 109d0286d9 autotest: correct type-check
py2 vs py3
2022-09-12 21:04:39 +10:00
Peter Barker b1909d9edf autotest: create and use a Result object to ship failure data around 2022-09-12 08:49:04 +10:00
Peter Barker ba6cf1a42b autotest: remove disabled LogUpload test
This has been unused for a long time, and is getting in the way of reforms.  Its position as a test rather than as a part of a framework was always going to cause oddities, particularly after we split the Copter tests into several chunks.
2022-09-11 20:45:13 +10:00
Peter Barker 87e97ca5b2 autotest: remove syntax test for test lambdas
We no longer permit the use of lambda functions in test lists
2022-09-11 17:21:38 +10:00
Peter Barker cd50b91904 autotest: correct running of single test
... and stop using run_tests entrypoint to the AutoTest objects as it does cause confusion
2022-09-11 17:15:53 +10:00
Peter Barker bb1c43b0a2 autotest: ensure MAVProxy arm attempt times out 2022-09-11 17:00:50 +10:00
m 3fdcf5f940 autotest: test landed state of copter during takeoff in auto mode 2022-09-10 21:53:23 +10:00
Peter Barker 80c36ecc97 autotest: use reflection to collect test details
We had a pattern emerging of using the test name as the method name to contain the actual test.  We also tended to duplicate the docstrings in the test description - or omit the docstring.

This uses reflection to retrieve both the test name and the description, meaning less duplication of this information and enforcing having docstrings on the test methods.
2022-09-10 18:27:27 +10:00
Peter Barker b06afa8316 autotest: reset sitl if forced disarm fails 2022-09-10 14:35:25 +10:00
Peter Barker 4caaf1533f autotest: check context for expected esc-rpm statustext 2022-09-10 09:21:44 +10:00
Peter Barker 71d1c050b3 autotest: move log_name method for balancebot to within class 2022-09-09 20:32:59 +10:00
Shiv Tyagi 6393ef6b8e Tools: fix Rover AutoDock test 2022-09-09 19:12:30 +10:00
Peter Barker 1a46a27bb8 Tools: remove vestiges of travis autotest hooks
travis had a split into two tests, test1 and test2 - which we no longer need
2022-09-09 12:08:59 +10:00
Michael du Breuil 80d7bf9b11 Tools: Update autotest to accomodate accel cal changes 2022-09-09 08:52:14 +10:00
Peter Barker e9bffe2045 autotest: throw exception when GIMBAL_DEVICE_ATTITUDE_STATUS not received 2022-09-08 21:13:15 +10:00
Andy Piper 203f691df4 autotest: add takeoff check test 2022-09-07 17:03:03 +01:00
Randy Mackay 4108e4b77f Tools: copter autotest integrates MNT param changes 2022-09-06 13:53:25 +09:00
Randy Mackay b9a3c4bd0d Tools: vee-gull default param update for MNT params 2022-09-06 13:53:25 +09:00
Randy Mackay 785500cdc8 Tools: copter-gimbal param file update for MNT params 2022-09-06 13:53:25 +09:00
Randy Mackay 4aa9c260ba Tools: sub param default updates for MNT changes 2022-09-06 13:53:25 +09:00
Shiv Tyagi 24cff5f9b1 Tools: add autotest to test docking on rover 2022-09-06 11:23:51 +09:00
Peter Barker d682718768 Tools: correct test_build_options deps gathering
This was returning things upside-down, providing things that this thing depended on, rather than the things that depended on the feature
2022-09-05 09:06:33 +10:00
Peter Barker 045115de05 autotest: explicltly close filehandle with streamrate contents
Test sporadically failing on autotest server.
2022-09-03 11:28:10 +10:00
Peter Barker f2ceb6b0a9 autotest: add a test for SIM_SHIP_ENABLE
trivial takeoff test in qloiter.

Will break with the default ship speed of 3.
2022-09-02 14:24:51 +10:00
Peter Barker 02e9bf4503 Tools: test_build_options.py: improve dependency handling
autotest: use get_defines when testing in-turn

Not sure why the collection of dependencies was disabled here.

autotest: improve debug for invalid deps

Tools: add a first-pass to ensure deps are consistent
2022-09-01 18:02:45 +10:00
esaldiran 9218cf18ce autotest: add test for custom controller 2022-08-30 13:10:09 +10:00
Peter Barker 7571ef67af autotest: fix airspeed driver test mismatch at end of mission
ground interactions cause fluctuations
2022-08-29 11:02:14 +10:00
Peter Barker a7aa5b6897 autotest: do not wait for ACK from reboot command
Several attempts have been made to make retrieving the reboot's ack reliable, and they've all failed.

So stop waiting for the ACK....
2022-08-29 08:24:03 +10:00
Peter Barker 3022299e71 autotest: disable SpeedToFly McReady tests
# mcReady tests don't work ATM, so just return early:
2022-08-29 08:23:41 +10:00
Peter Barker eb0f932b52 autotest: remove global variable
... progress is no longer static and hasn't been for years
2022-08-28 10:09:47 +10:00