Commit Graph

27 Commits

Author SHA1 Message Date
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
Pierre Kancir 4e2e4fa4d4 Tools: autotest: remove useless shebang 2022-06-08 08:16:42 +09:00
Peter Barker 376d7ade50 autotest: use assert_receive_message to remove redundant code 2022-02-15 11:06:10 +11:00
Peter Barker fdbbcaa506 autotest: bump default speedups for several vehicles
These tests seem to run stabley on my box with essentially no speedup
limit
2021-03-24 14:46:48 +11:00
Peter Barker 4c56ac7eb3 autotest: flake8 compliance for antennatracker.py 2021-02-18 10:43:05 +11:00
Andrew Tridgell c396d15890 Revert "autotest: ensure defaults files don't set already-default-values"
This reverts commit 3d431cd4f1.

It breaks MissionPlanner SITL. We can re-apply once MissionPlanner
copes with external_model.
2021-01-20 08:54:43 +11:00
Peter Barker 3d431cd4f1 autotest: ensure defaults files don't set already-default-values
autotest: mark some vehicles as having external physics models

autotest: add default_params_filename to some vehicle info
2021-01-19 10:34:00 +11:00
Pierre Kancir d5aec30a7d Tools: update path for antenna tracker test missions files 2020-04-09 09:01:03 +10:00
Peter Barker bfc4802b37 autotest: fix sitl reboot 2020-03-25 20:19:25 +11:00
Peter Barker 403950f61f autotest: add autotests for CPU failsafe 2020-03-20 12:19:21 +11:00
Peter Barker 3d0ede499b autotest: disable parameters test on Tracker until reboot works 2020-01-16 21:19:01 +11:00
Peter Barker 316c6af69f autotest: give guided mode test more time to achieve attitude 2020-01-08 14:29:54 +11:00
Peter Barker 78b1b54bb7 autotest: add test for AntennaTracker scan mode 2020-01-01 22:02:53 +11:00
Peter Barker 19c02471cf Tools: autotest: add test for NMEA output 2019-12-23 11:19:59 +11:00
Peter Barker 60a2b8a8b1 autotest: diversify Tracker SERVOTEST mode test 2019-12-04 14:52:56 +11:00
Peter Barker 160621d0be autotest: correct MANUAL test
Wasn't picking up that subsequent channels were acting just like the
first
2019-12-04 13:38:32 +11:00
Peter Barker 341757b254 autotest: add test Tracker for SERVOTEST mode 2019-12-02 20:06:04 +11:00
Peter Barker 0d527aa313 autotest: add test for tracker manual mode 2019-12-02 12:24:10 +11:00
Peter Barker 1ec10eecde autotest: add tests for Tracker's mode guided 2019-11-11 10:06:21 +11:00
Peter Barker 642935fd43 Tools: random Python cleanups based on lgtm analysis 2019-09-21 22:26:03 +10:00
Peter Barker 05a48928f8 Tools: autotest: assume Tracker has AP_Stats 2019-08-07 07:57:46 +09:00
Peter Barker 9ab8a55c8f Tools: autotest: correct tracker reboot detection 2019-03-30 07:55:03 +11:00
Peter Barker 6bf600c587 Tools: autotest: cope with being unable to reboot while armed 2019-03-19 10:53:37 +11:00
Peter Barker d53f787a14 Tools: factor init up into parent class
Tools: autotest: use speedup 8 for all suites

for reliability
2019-03-13 08:20:20 +11:00
Peter Barker 19f51813f2 Tools: autotest: include mavproxy output in all vehicle test log files 2019-03-08 23:21:27 +11:00
Peter Barker ed5fc06a5d Tools: autotest: skip arm features on Tracker until rudder problems sorted 2019-02-28 14:14:28 +11:00
Peter Barker 31a9ac7dbd Tools: autotest: add test suite for Tracker 2019-02-26 08:03:56 +11:00