Peter Barker
167553e8a5
Tools: autotest: tidy usage and simplify vehicle build steps
2018-05-11 13:43:33 +10:00
Andrew Tridgell
3b143a99bf
autotest: removed sitl-debug varient
2018-05-04 18:33:53 +10:00
Peter Barker
a03ddc6798
Tools: autotest: correct default parameter names and paths
2018-03-29 09:19:36 +11:00
Peter Barker
5aa8890e5b
Tools: autotest: fail convertgpx if zip or gpsbabel fail
2018-03-22 09:11:44 +11:00
Peter Barker
b348cfa985
Tools: autotest: flake8 compliance
...
Taking the opportunity to make massive changes while we're destroying
history anyway.
2018-03-15 07:54:21 +09:00
Pierre Kancir
259dda810d
Tools: use base class to share code between vehicle tests
...
Autotest: common.py add new base class and test
Autotest : Common add heartbeat handling on wait_mode timeout
Autotest: common.py add reach_heading_manual and reach_distance_manual
Autotest: new autotest implementation for Rover
Autotest : rover add drive_square test
Autotest: new autotest implementation for Copter
Autotest: new autotest implementation for Plane
Autotest: new autotest implementation for Sub
Autotest: new autotest implementation
Autotest: new autotest implementation for QuadPlane
Autotest : Sub disable GCS_Failsafe on autotest to prevent timeout. The failsafe aren't currently tested on Sub
2018-03-15 07:54:21 +09:00
Peter Barker
50ccbb5d0c
Tools: autotest: correct speedup parameter handling
2018-02-13 17:15:05 +11:00
Peter Barker
94afaebdb7
Tools: autotest builds each vehicle parameters individually
2017-12-16 11:08:35 +11:00
Andrew Tridgell
20d44136b0
autotest: fixed handling of core files
2017-12-12 08:45:56 +11:00
Peter Barker
47ffad7cdc
Tools: autotest: copy generate_manifest aside for build_binaries.py
2017-10-26 07:57:48 +11:00
Peter Barker
e3320ca953
Tools: autotest.py: run build_binaries.py instead of build_binaries.sh
...
Note we still copy the script sideways. This is probably not
required for a python script.
2017-10-25 12:02:19 +11:00
Andrew Tridgell
b88f2f1da3
autotest: fixed exception in convertgpx
2017-10-22 16:26:24 +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
2738fc34f0
Tools: autotest.py: exit if step not matched
...
Also, stop shadowing a variable
2017-09-08 21:51:26 +10:00
Peter Barker
6928618de8
Tools: autotest.py: allow specification of a buildlogs directory
2017-09-01 23:39:38 +10:00
Peter Barker
1b7122d733
Tools: add a --speedup parameter to autotest to control speed of all sims
2017-08-29 22:49:40 +01:00
Peter Barker
24e616af7d
Tools: autotest.py: factor write_fullresults
2017-08-26 17:54:32 +01:00
Miguel Arroyo
38297c4d19
Tools: Adds GDBServer with screen option for debugging
2017-08-24 21:37:06 +10:00
Daniel Orbach
3c66663880
Tools: autotest.py: Squashed the code for default.* steps in run_step().
2017-08-14 12:16:29 +10:00
Daniel Orbach
91e25bb937
Tools: autotest.py: Made use of shutil.copy2() where appropiate.
2017-08-14 12:16:29 +10:00
Daniel Orbach
befd8b028b
Tools: autotest.py: Moved all imports to top of file.
2017-08-14 12:16:29 +10:00
Daniel Orbach
e951df7d50
Tools: autotest.py: Simplified binary_path through lookup table
2017-08-14 12:16:29 +10:00
Daniel Orbach
29ab76e714
Tools: autotest.py: Slightly cleaned up run_tests.
2017-08-14 12:16:29 +10:00
Daniel Orbach
04791139c0
Tools: autotest.py: Separated function definitions and script code.
2017-08-14 12:16:29 +10:00
Peter Barker
791b1f43e9
Tools: allow heli autotest to use different frame
2017-07-05 17:34:09 +01:00
Peter Barker
cb81f9c8b3
Tools: allow Rover to use inheritted config files
2017-07-05 17:29:55 +01:00
Peter Barker
2ddf7f99b5
Tools: autotest: option to run different frame
2017-05-26 16:53:07 +09:00
Jacob Walser
ec15f0fee5
autotest: Add Sub
2017-02-25 17:50:18 +11:00
Andrew Tridgell
fda31e67d9
autotest: fixed arducopter binary name
2017-01-12 17:39:37 +11:00
Pierre Kancir
bec09b9a57
autotest: python3 support
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
Peter Barker
edf6964487
Tools: autotest: emit lockfile name in case of contention
...
For those of us who want to remove the lockfile and can
never remember where it lives
2016-09-23 16:55:52 +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
Pierre Kancir
19d94737a0
autotest: move all default params to default_params directory
2016-08-03 17:44:37 -03:00
Pierre Kancir
07eb170b39
Autotest: correct mavproxy unloaded map error
2016-08-01 10:37:15 -03:00
Peter Barker
b23f983459
autotest: add --gdb option to autotest.py
2016-06-27 18:14:55 -03:00
Peter Barker
6530c3bd91
autotest.py: exit with error if requested step not found
2016-06-20 11:48:07 +10:00
Peter Barker
b6289af522
Tools: autotest uses waf directly for building examples
2016-06-04 12:33:14 -03:00
Andrew Tridgell
168f4e52cf
autotest: try to fix build of binaries
2016-05-28 07:29:23 +10: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
Peter Barker
08e5959923
autotest: correct path to mavtogpx
2016-04-27 08:20:51 +10:00
Peter Barker
8774f15b9a
Tools: add valgrind option to autotest.py
2016-04-22 09:42:33 +10:00
Andrew Tridgell
eec1b95f69
autotest: added quadplane test
2016-01-09 16:27:03 +11:00
Grant Morphett
69a65a7234
autotest: Adding AntennaTracker to build and test results
2015-09-16 09:24:26 +09:00
Andrew Tridgell
717c04d507
autotest: fly CopterAVC mission as a helicopter
...
this ensures heli gets basic testing
2015-09-01 16:34:20 +10:00
Andrew Tridgell
068b862888
autotest: use buildlogs directory consistently
2015-05-11 08:37:49 +10:00
Andrew Tridgell
fe536a4b89
autotest: use internal copter sim for autotest
2015-05-05 16:56:40 +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
3d14b47d8b
autotest: try to run at 10x, not 100x speed
...
if we run too fast mavproxy can't keep up
2015-05-05 09:45:59 +10:00
Andrew Tridgell
5d8a897330
autotest: use right sim backend for different vehicles
2015-05-05 09:45:59 +10:00
Andrew Tridgell
a262f9d31b
autotest: disable the devrelease build for now
...
not being kept updated
2015-04-30 14:09:59 +10:00
Andrew Tridgell
5f8c05b712
autotest: fixed extraction of defaults
2015-04-20 15:12:51 +10:00
Andrew Tridgell
cf15b4d4fc
autotest: removed use of --nowait option
2015-03-27 18:03:24 -07:00
Andrew Tridgell
c338002e0d
autotest: fixed defaults extraction in autotest
2015-03-25 18:57:46 -07:00
Andrew Tridgell
57273b41b4
autotest: removed 2560 build for copter
2015-03-13 22:58:21 +11:00
Andrew Tridgell
0d7ec0fbfe
autotest: fixed buildlogs location for *.BIN
2014-11-13 21:52:48 +11:00
Andrew Tridgell
e49cd68b83
autotest: save core and elf files
...
try to catch floating pt exception causes
2014-11-13 17:27:02 +11:00
Andrew Tridgell
7f82397467
autotest: ensure we get the BIN flight logs even on mission failure
2014-11-13 16:31:26 +11:00
Andrew Tridgell
c0f18272ed
autotest: added developer build support
...
this creates firmware builds for developers in the devbuild directory
2014-10-30 11:12:17 +11:00
JD Russo
23dc2db036
autotest.py: changed 'prerequesites' to correct spelling
...
In a few places in autotest, the word 'prerequisites' was misspelled as 'prerequesites'. This is just a simple commit to fix that spelling.
2014-08-06 19:12:01 -07:00
Andrew Tridgell
6121b9c58e
autotest: switched to binary log download over MAVLink
2013-12-28 21:47:12 +11:00
Andrew Tridgell
d39598de6a
autotest: use mavflightview.py from $PATH
2013-11-22 22:04:18 +11:00
Andrew Tridgell
66165c4918
autotest: make default param files end in .parm
...
this matches what MP wants in its compare params diaglog
2013-09-23 08:48:01 +10:00
Andrew Tridgell
ad9a605603
autotest: removed APM1-1280 from rover build
...
it no longet fits with the new L1 controller
2013-09-09 19:14:39 +10:00
Andrew Tridgell
4f118a85b2
autotest: fixed import paths for pymavlink
...
assumes installed package now
2013-08-30 13:01:36 +10:00
Andrew Tridgell
64082100aa
autotest: added docs links
2013-08-15 09:08:08 +10:00
Andrew Tridgell
764d382aef
autotest: display map results on timeout
2013-07-09 08:48:17 +10:00
Andrew Tridgell
fb783f87bb
autotest: fixed handling pf pymavlink paths
2013-06-18 16:24:26 +10:00
Andrew Tridgell
caad45aacb
autotest: fixed pymavlink tools paths
2013-06-18 13:36:54 +10:00
Andrew Tridgell
dc712aab1f
build: removed plane 1280 build from autotest
...
we probably won't support it for the next release.
See http://diydrones.com/forum/topics/keep-supporting-apm1-1280-in-arduplane
2013-05-31 18:30:11 +10:00
Andrew Tridgell
a900226ff7
autotest: added CopterAVC test
...
this will test the copter code for the AVC2013 mission
2013-05-29 15:33:32 +10:00
Andrew Tridgell
ac225a1322
autotest: check te parameter doc parsing in autotest
2013-05-21 17:02:13 +10:00
Andrew Tridgell
2a9298f3d5
autotest: display flight tracks on autotest web page
2013-05-06 12:32:42 +10:00
Andrew Tridgell
168f76e76c
autotest: added --map option to autotest.py
2013-05-02 20:07:04 +10:00
Andrew Tridgell
9904bcd9aa
autotest: changed mavlink log names to *.tlog
...
easier to view in MP
2013-04-28 15:01:31 +10:00
Andrew Tridgell
9e92a60cfa
autotest: fixed dump of file based logs
2013-04-20 18:24:19 +10:00
Andrew Tridgell
13e6aaf682
autotest: precreate buildlogs directory
2013-04-15 10:52:32 +10:00
Andrew Tridgell
01b2ecbc55
autotest: copy the build_binaries.sh script before running
...
this prevents altering the script while running
2013-03-23 14:54:53 +11:00
Andrew Tridgell
d9be58fd2c
autotest: add 10 mins to timeout
...
this copes with build_binaries.sh
2013-03-13 08:23:41 +11:00
Andrew Tridgell
8b87d3643b
autotest: fixed mavlink paths
2013-03-12 13:15:41 +11:00
Andrew Tridgell
5db1dbd8d1
autotest: fixed python path for mavtemplate
2013-03-12 11:49:43 +11:00
Andrew Tridgell
fcfed2e81d
autotest: build all binaries for master on each commit
2013-03-10 17:16:56 +11:00
Andrew Tridgell
3fda7bbeac
autotest: fixed log dumping
2012-12-22 14:50:32 +11:00
Andrew Tridgell
74f50012a5
autotest: allow for wildcard list of steps to be specified
2012-11-29 20:53:21 +11:00
Andrew Tridgell
fdeb6d897d
autotest: added Rover testing in autotest
2012-11-28 10:43:11 +11:00
Andrew Tridgell
eaf868a0b6
autotest: run build_examples.sh in autotest
2012-11-24 21:12:05 +11:00
Andrew Tridgell
7cc9ec4d61
autotest: ArduCopter on a 1280 is not supported any more
2012-08-19 12:30:15 +10:00
Andrew Tridgell
ba205d8ff5
autotest: create kmz files on timeout
2012-07-10 09:13:16 +10:00
Andrew Tridgell
28d62416fe
autotest: show logs on timeout
2012-06-16 06:47:55 +10:00
Andrew Tridgell
04a2a0eb46
autotest: added --timeout option
...
try to ensure we end up with a timeout display on the website
2012-06-15 16:53:51 +10:00
Andrew Tridgell
47d5f31fc2
removed copy of pymavlink code
...
use upstream code instead
2012-06-04 17:51:12 +10:00
Andrew Tridgell
7589de689b
mavlink: added auto-detection of mavlink protocol version
2012-06-04 17:51:12 +10:00
Andrew Tridgell
076d1616ba
autotest: default to mavlink10
2012-06-04 13:19:21 +10:00
Andrew Tridgell
46ee92441e
HILTest is not needed any more
2012-05-09 13:47:44 +10:00
Andrew Tridgell
67afdc7485
autotest: fixes for MAVLink 1.0 in autotest
2012-04-27 15:15:53 +10:00
Andrew Tridgell
e5ec810c92
autotest: fixed check of return code for build_all.sh
2012-02-20 09:17:08 +11:00
Andrew Tridgell
c3d6e64efb
autotest: fixed directory for build_all.sh
2012-02-20 08:41:40 +11:00
Andrew Tridgell
66b95c14c5
autotest: added build_all.sh to autotest
2012-02-19 17:05:28 +11:00
Andrew Tridgell
27cd2893af
autotest: fixed the directory that the git hash is fetched in
2012-02-14 09:06:24 +11:00
Andrew Tridgell
d574c78c2c
autotest: fixed displayed git hash in autotest
2012-02-13 20:29:55 +11:00
Andrew Tridgell
669516cb15
autotest: fixed git hash parsing
2012-02-13 18:02:35 +11:00
Andrew Tridgell
2c0e4c1c02
autotest: use 'enter 3 times' method to get into CLI
...
this doesn't depend on build options
2011-12-13 10:36:52 +11:00
Andrew Tridgell
cf7073128d
autotest: adapt test suite to new simulation framework
2011-12-02 17:37:55 +11:00
Andrew Tridgell
f59f9668e9
autotest: use kmz file not kml
...
saves bandwidth
2011-11-28 16:53:20 +11:00
Andrew Tridgell
2e7a48ad9c
autotest: show log numbers while dumping
2011-11-28 16:22:33 +11:00
Andrew Tridgell
5784acd55f
autotest: fixed log dump
...
log numbers are no longer sequential
2011-11-26 19:16:56 +11:00
Andrew Tridgell
8ab0dbdba7
autotest: fixed remote viewing of ArduCopter autotest
2011-11-26 18:35:25 +11:00
Andrew Tridgell
ee04c0ef50
autotest: cope with exceptions in tests leaving child processes
2011-11-26 18:12:42 +11:00
Andrew Tridgell
5fd04e0c23
autotest: mark stdout unbuffered
...
this makes the logs easier to read
2011-11-25 20:00:19 -08:00
Jason Short
14f0f7b6f3
lengthened log timeout
2011-11-19 17:31:36 -08:00
Jason Short
269c6d26c9
Added KML link
2011-11-19 16:59:54 -08:00
Andrew Tridgell
00374bea0a
autotest: fixed killing of Xvfb
...
this should make fly.ArduPlane more reliable
2011-11-18 17:50:12 +11:00
Andrew Tridgell
d4aa61e97e
autotest: re-adding KMZ track
2011-11-14 06:38:49 +11:00
Andrew Tridgell
5ce99fd9cc
autotest: added --experimental option
...
this currently enables fly.ArduPlane
2011-11-13 23:50:29 +11:00
Andrew Tridgell
47fe0f9c75
autotest: re-add --viewerip option
2011-11-13 23:50:28 +11:00
Andrew Tridgell
147dc2529f
autotest: added initial implementation of flying of ArduPlane
...
takeoff, circuit, roll, RTL, mission
2011-11-13 23:50:28 +11:00
Jason Short
5090f2710b
Added extrude to KML out
2011-11-12 15:11:25 -08:00
Andrew Tridgell
5e115277d6
autotest: longer timeout writing logs
...
the flash logs are getting pretty big now
2011-11-10 22:58:02 +11:00
Andrew Tridgell
7229b77fcf
autotest: link to defaults for both builds
2011-11-10 14:39:28 +11:00
Andrew Tridgell
7299935104
autotest: added some colour to passed/failed msgs
2011-11-10 14:37:52 +11:00
Andrew Tridgell
17ad58fe32
autotest: copy png files over
2011-11-10 00:31:50 +11:00
Andrew Tridgell
bef89a8ab5
autotest: allow for multiple html files
2011-11-10 00:23:46 +11:00
Andrew Tridgell
223232ac50
autotest: show frame and code sizes
2011-11-10 00:17:31 +11:00
Andrew Tridgell
e3fa7fd93d
autotest: fixed html path
2011-11-10 00:14:14 +11:00
Andrew Tridgell
4ed5eb477a
autotest: use a lock file
...
this ensures we don't run two copies of the tests at once
2011-11-09 23:53:09 +11:00
Andrew Tridgell
bc08189613
autotest: fixed module name
2011-11-09 23:45:12 +11:00
Andrew Tridgell
13d74472c5
autotest: show git hash in html
2011-11-09 23:43:25 +11:00
Andrew Tridgell
7bbbe7f7fc
make the web site a bit prettier
2011-11-09 23:25:28 +11:00
Andrew Tridgell
f4da7e96d2
always convert GPX
2011-11-09 20:27:00 +11:00
Andrew Tridgell
9b3e35fb62
autotest: list failed tests
2011-11-09 17:21:53 +11:00
Andrew Tridgell
21e7c627af
autotest: improved error checking and child termination
...
we now report pass/fail for each test
2011-11-09 17:21:53 +11:00
Andrew Tridgell
6e32905f81
autotest: avoid the need for killall
...
this ensures we cleanup child processes cleanly, so we don't need the
killall any more
2011-11-09 15:46:06 +11:00
Andrew Tridgell
c7ac328613
autotest: dump all logs
2011-11-07 23:56:59 +11:00
Andrew Tridgell
c750f85280
autotest: enable dumping of DataFlash logs at end of test
2011-11-07 22:56:13 +11:00
Andrew Tridgell
469b8586ca
autotest: started adding tests for required tools
...
try to give useful error messages
2011-11-07 22:56:13 +11:00
Andrew Tridgell
7a0d39c197
autotest: added a mission to ArduCopter testing
...
the mission is not flown well at all, but its a start
2011-11-01 22:44:21 +11:00
Andrew Tridgell
0b484afbbe
First version of APM autotest
...
This does SIL testing of ArduPlane and ArduCopter. For now it just does
a basic LOITER test of ArduCopter. It produces logs and a kml of the
flight on apm.tridgell.net
2011-10-31 13:50:34 +11:00