Commit Graph

76 Commits

Author SHA1 Message Date
Pierre Kancir acc4a1db3f Autotest: remove special case for vicon and default vicon for copter to false 2020-08-17 21:17:26 +10:00
Peter Barker a0258f351d autotest: disable gdb pagination 2020-07-03 22:07:16 +10:00
bugobliterator 183e50b31f autotest: fix autotest on mac os x 2020-05-17 16:12:43 +10:00
Peter Barker 475027e03a Tools: autotest.py: add --enable-math-check-indexes 2020-04-28 15:12:39 +10:00
Peter Barker 10e8f3f3d7 autotest: canonicalise on defaults_filepath rather than defaults_file
This naming better represents the fact this isn't just a filename.
2020-04-14 15:09:17 +10:00
Peter Barker 9511fa59ec autotest: permit specification of frame as part of customing cmdline 2020-04-12 20:34:26 +10:00
Peter Barker 67a3610f54 autotest: correct dangling path separator issue in PYTHONPATH 2020-03-04 19:36:18 +11:00
Peter Barker 8deaa36f5a autotest: neaten start of MAVProxy, add debug showing cmdline
Attempting to diagnose failure of MAVProxy to find rline.py on the
autotest server.
2020-03-03 21:40:20 +11:00
Peter Barker 881eadb993 autotest: add Tools/mavproxy_modules to PYTHONPATH in autotest
So we can find random MAVProxy helper modules like sitl_calibration
2020-01-01 13:06:28 +11:00
Peter Barker fecca9a559 autotest: add tests for serial RangeFinder drivers 2019-12-03 09:07:09 +11:00
Peter Barker c5f52a8355 Tools: autotest: tests for new fence code
Tools: autotest: move clear_mission up, use it before running each test

Also have it understand MAV_MISSION_TYPE_ALL

Tools: autotest: add tests for polyfence

Tools: autotest: add tests for multiple inclusion polyfences

Tools: autotest: ensure we can't arm inside a circle exclusion zone

Tools: autotest: add test for arming outside an inclusion zone

Tools: autotest: add tests for upload timeout

Tools: autotest: add tests for not arming due to polygon zones

Tools: autotest: add test for fence point reboot survivability

Tools: autotest: add test for moving fence point

Tools: autotest: add some tests via MAVProxy

Tools: autotest: add test for avoiding polygonal exclusion zones

Tools: autotest: add test for object avoidance

Currently disabled as it doesn't pass where it seemingly should.

Tools: autotest: skip MAVProxy tests on older MAVProxy versions

Tools: autotest: adjust fence loading for lack of string back from MAVProxy

Tools: autotest: create a do_RTL function

Tools: autotest: cope with loading QGC-style fence files

Tools: autotest: add test for object-avoidance in guided mode

Tools: autotest: add OA test for auto mode

Tools: autotest: add test for bendy ruler in guided mode

Tools: autotest: adjust for new MAVProxy fence module not emitting old strings

Tools: autotest: add tests for prearming due to bad parameter values
2019-09-28 07:58:48 +09:00
Andy Piper 5f34ec6578 Tools: support lldb debugging for sim_vehicle and autotest 2019-09-26 09:02:11 +10:00
Peter Barker 03e317fed8 Tools: autotest: send SIGTERM to processes before killing them
This allows coverage atexit functions to run
2019-09-23 19:36:38 +10:00
Peter Barker 642935fd43 Tools: random Python cleanups based on lgtm analysis 2019-09-21 22:26:03 +10:00
Pierre Kancir 1f9adf1f3b Tools: remove log module from default autotest modules 2019-07-16 18:58:54 +10:00
Pierre Kancir 21fe1e54e5 Tools: unload relay module from autotest defaults 2019-07-16 18:58:54 +10:00
Pierre Kancir 9d20a13cd4 Tools: reduce mavproxy memory usage on autotest 2019-07-14 15:52:47 +10:00
Peter Barker 87e43d6e44 Tools: autotest: add option to disable breakpoints at sim startup 2019-07-12 12:48:05 +10:00
Peter Barker 0440106c16 autotest: allow autotest with valgrind to cope with new operator
this is needed for recent versions of valgrind. Without it valgrind
doesn't know that new clears memory
2018-12-07 08:40:39 +11:00
Peter Barker 55377b424e Tools: autotest: add extra-configure-args option to autotest.py 2018-10-03 13:34:59 +10:00
Pierre Kancir f6cc934678 Tools: pep8 corrections + correct variable shadowing 2018-08-27 17:08:47 +10:00
Peter Barker aa36d20aa1 Tools: autotest: add steps to autotest to build and run unit tests
This is Linux-specific ATM
2018-08-15 12:11:43 +10:00
Peter Barker 9cd8745394 Tools: autotest: allow use of --gdb when no DISPLAY available
OTOH, screen will be required....
2018-07-30 11:18:40 +10:00
Peter Barker 6dd8dbeb40 Tools: autotest: add ability to add breakpoints in autotest 2018-07-27 09:58:15 +10:00
Peter Barker 38898dc793 Tools: autotest: add test for vision position estimate 2018-06-30 10:11:10 +10:00
Peter Barker ee01687c55 Tools: fix autotest/valgrind on Vagrant virtual machines 2018-05-17 17:27:43 +10:00
Peter Barker b2cb6e196c Tools: autotest: pull common MAVProxy options into common.py 2018-03-20 08:39:12 +11:00
Peter Barker 20bfb82a7b Tools: autotest.py: add --no-clean and --no-configure options 2017-09-11 12:45:27 +10:00
Peter Barker a7b919f025 Tools: do not attach gdb to gdbserver unless --gdb is given 2017-08-24 21:37:06 +10:00
Miguel Arroyo 38297c4d19 Tools: Adds GDBServer with screen option for debugging 2017-08-24 21:37:06 +10:00
Pierre Kancir bec09b9a57 autotest: python3 support 2016-11-09 11:48:22 -03:00
Pierre Kancir 5786d66ea1 autotest: simplify start_sitl 2016-11-09 11:48:22 -03:00
Peter Barker 30233ab9b8 Tools: unhide groups when generating parameters in autotest 2016-10-26 09:53:14 +11:00
Andrew Tridgell 26e1c30b19 autotest: avoid a race condition in quadplane test
this shows up on the new (faster) autotest server
2016-09-08 15:28:20 +10:00
Pierre Kancir 9e1ffcae5d Tools: update python coding style
Tools: update PrintVersion.py coding style

autotest: update python coding style

pysim: update python coding style

jsb_sim: update Python coding style

param_metadata: update Python coding style
2016-09-01 13:05:11 +10:00
Peter Barker b23f983459 autotest: add --gdb option to autotest.py 2016-06-27 18:14:55 -03:00
Peter Barker efef39732e autotest: pass any supplied -j through to waf make 2016-06-05 09:45:58 +10:00
Peter Barker 8cf49d4e3e Tools: create build_examples.py, a replacement for build_examples.sh 2016-06-04 12:33:14 -03:00
Peter Barker 3548f90d3a autotest: create SIL object to hold valgrind logpath 2016-05-27 08:07:07 -03:00
Peter Barker ced07906ad Tools: correct valgrind run in autotest.py 2016-05-27 08:07:07 -03:00
Peter Barker 7b86a05722 Tools: convert autotest build.X and fly.X to use waf build system 2016-05-27 08:07:07 -03:00
Ricardo de Almeida Gonzaga 1062aed91e Tools: Fix typos 2016-05-13 19:20:07 -03:00
Andrew Tridgell 6e418c2cf5 autotest: always sleep for 3 seconds on starting SITL 2016-01-11 09:31:13 +11:00
Andrew Tridgell decb6dbab0 autotest: added option of autotest with gdb 2016-01-10 21:26:50 +11:00
Andrew Tridgell 9e43d5a4bb autotest: added defaults_file option to start_SIL() 2016-01-09 16:26:51 +11:00
Andrew Tridgell 68515d0324 autotest: fixed CopterAVC test 2015-05-11 11:26:54 +10:00
Andrew Tridgell 98df4fe60e autotest: make sim command clearer in logs 2015-05-06 10:10:13 +10:00
Andrew Tridgell 209896afc7 autotest: use builtin rover model for autotest 2015-05-05 16:56:39 +10:00
Andrew Tridgell 8c8c910ad0 autotest: removed the old AVR/2560 code in autotest
now checked with build_all
2015-05-05 10:39:31 +10:00
Andrew Tridgell 1cbbf1ab9e autotest: start SITL in synthetic clock mode 2015-04-30 17:19:56 +10:00