Peter Barker
28ed2e3cd5
autotest: add support for building alternate binaries
...
e.g. adding features ordinarily compiled out
2022-07-19 09:09:05 +10:00
Andrew Tridgell
2f7a8769c0
autotest: added --ubsan and --ubsan-abort to sim_vehicle.py and autotest.py
...
allows for undefined behaviour checking in SITL
2022-07-12 11:00:08 +10:00
Andrew Tridgell
003fef229c
Tools: disable convertgpx step in autotest
...
this is taking 5 hours to run. It just isn't worth it
2022-07-04 20:05:06 +10:00
Peter Barker
7bb36a5630
autotest: correct path to source build_sizes.py script
...
This script is run on the build server from the APM root directory; this
bit copies it there before we change branches in the repo
2022-01-12 10:28:17 +11:00
Peter Barker
50d30ae045
autotest: reformat things-to-copy list
2022-01-12 10:28:17 +11:00
Andrew Tridgell
e5888d42d9
Tools: update build_sizes.py from master
2021-12-31 11:11:34 +11:00
Peter Barker
746d9fda8d
autotest: add --callgrind option
2021-11-29 20:46:02 +11:00
Peter Barker
ad32f8d6d2
autotest: allow building of blimp in autotest
2021-11-14 18:35:06 +11:00
Josh Henderson
27bb200644
Tools: add sitl_32bit board type for sim_vehicle & autotests
2021-09-28 09:15:11 +10:00
Josh Henderson
b42a95eb20
Tools: autotest.py enable unit testing for SITL
2021-09-28 09:11:48 +10:00
Peter Barker
93e6cfef35
autotest: move helicopter tests to own file
2021-09-27 11:58:39 +10:00
Peter Barker
1e1e8010e3
autotest: remove APM references
2021-09-18 10:45:39 -05:00
Peter Barker
5e81026e78
autotest: add option to hard-reset after every test
2021-08-13 08:01:20 +10:00
Andrew Tridgell
2b1e80c70d
Tools: copy board_list.py for build_binaries.py
2021-08-06 10:00:08 +10:00
Andrew Tridgell
618fa156c7
autotest: added --replay option to autotest
...
make for easy creation of EKF replay logs
2021-07-16 21:13:53 +10:00
Andrew Tridgell
a6a01cf432
autotest: added --ekf-single and --postype-single options to autotest
2021-07-10 07:20:41 +10:00
Peter Barker
743ed05367
autotest: detect ap-*.core as we do core.* files
2021-07-08 15:46:07 +10:00
Peter Barker
fd803ddafc
autotest: remove stray diagnostic files before run
2021-07-08 15:46:07 +10:00
Peter Barker
70a161a583
autotest: create SITL debug binaries by default
2021-07-07 17:11:27 +10:00
Peter Barker
d82a229584
autotest: revert to subprocess.check_call
...
.run is only Python3
2021-06-22 20:24:07 +10:00
Pierre Kancir
39c96f63c8
Tools: autotest.py: total flake8 compliance.
2021-06-18 16:03:51 +10:00
Pierre Kancir
7ddb4d681d
Tools: autotest: correct exception handling on unit test run.
2021-06-18 16:03:51 +10:00
Peter Barker
0b517cfc57
autotest: start GDB in tui mode by default
2021-06-10 20:52:48 +10:00
Pierre Kancir
cf350a52e9
Tools: Autotest: add --coverage option
2021-06-02 14:42:59 +10:00
Pierre Kancir
58358d9f97
Tools: correct arguments passing on autotest.py
2021-05-26 18:46:03 +10:00
Pierre Kancir
458b6084fa
Tools: don't make report test failure on coverage
2021-05-20 14:54:47 +10:00
Peter Barker
117a44b589
autotest: remove corefiles at start of run
...
These lead to false-positive failures in the test suite
2021-05-01 17:22:36 +10:00
Iampete1
0628aa9e29
Tools: autotest: add sailboat autotest
2021-04-28 15:16:35 +10:00
Peter Barker
c350268918
autotest: correct compilation of Replay in autotest suite
2021-04-05 16:39:36 +10:00
Peter Barker
d2c00f7b26
autotest: ensure RC thread is killed after each run_test
...
Every run_test starts a thread. del is not being called. So clean it
up in the caller
2021-04-01 11:00:54 +11:00
Peter Barker
500679ec5b
autotest: correct creation of default parameters
...
Simulation won't start if nothing is connected to 5760 - so just connect
mavproxy there
2021-03-31 23:29:47 +11:00
Peter Barker
ef4ebbf126
autotest: add a do-nothing --autotest-server option
...
This option is currently ignored, but if given allows the script to
continue normally.
This allows us to change the autotest server to pass the option in - and
then we can change autotest.py so that unless the option is given we
spit out a help message rather than completely stuff up the user's
development environment
2021-03-26 22:52:35 +11:00
bugobliterator
5074b6d336
autotest: add test case for GPS ordering
...
also fix flake8 issues
2021-03-12 16:32:36 +09:00
bugobliterator
48277b43e4
Tools: add autotest for checking GPS ordering
2021-03-12 16:32:36 +09:00
Peter Barker
e3887c8d93
autotest: make and mark autotest.py flake8-clean
2021-02-18 10:43:05 +11:00
Peter Barker
be8f747b7a
autotest: adjust timeout for Valgrind; disable for gdb
2021-02-16 13:18:41 +11:00
Pierre Kancir
2b71bf8e99
Autotest: fix subtests completion
2021-01-27 08:27:54 +11:00
Peter Barker
2e2e34d784
autotest: correct run_one_test case (vehicle.testname case)
2021-01-21 22:59:34 +11:00
Peter Barker
c7a6047904
autotest: add option to retry tests / create and use Test definition object
2021-01-21 10:23:17 +11:00
Peter Barker
cd8a393ac2
autotest: create own RC thread to handle setting of RC overrides
...
autotest: prevent method-on-undef problem in case of early test failure
autotest: plumb MAVProxy rc input back in for switch test
autotest: close off rc thread in case of timeout
2021-01-15 20:56:30 +11:00
Peter Barker
8e6d144d72
autotest: re-raise KeyboardInterrupt after closing pexpects
...
this gives a stack trace, which is handy if the tests get caught
indefinitely somewhere
2021-01-09 15:16:50 +11:00
Peter Barker
6908a776fa
autotest.py: timeout after 5400 seconds
2020-12-31 14:55:32 +11:00
Pierre Kancir
cd98129022
Autotest: fix css loading for autotest.ardupilot.org
2020-11-28 19:14:16 +11:00
Andrew Tridgell
f674d124d6
autotest: use SITL replay
2020-11-10 16:15:45 +11:00
Andrew Tridgell
a37cae5dae
autotest: added test.Copter.Replay test
2020-11-10 16:15:45 +11:00
bugobliterator
c72c96fa9c
Tools: setup CI test for CANBus
2020-11-04 19:59:40 +11:00
Pierre Kancir
4ca8f6bf1e
Autotest: fix githash on python 3 for firmware html page
2020-10-24 10:30:09 +11:00
Pierre Kancir
de927691f2
Tools: remove empty fields in autotest.ardupilot.org
2020-10-24 10:30:09 +11:00
Buzz
586e9f80d5
AutoTest: break copter autotests into smaller "under 10 minute" chunks to speedup github actions CI
2020-10-21 18:01:47 +11:00
Andrew Tridgell
8b95fac214
Tools: added --Werror option to autotest.py
2020-09-15 09:40:03 +10:00