Commit Graph

117 Commits

Author SHA1 Message Date
Andrew Tridgell 6643231b2e autotest: implement parameter files per peripheral in CI tests
this allows for one peripheral to have ESCs and the other not
2023-08-24 13:06:40 +10:00
Andrew Tridgell 1cc83223af autotest: fixed using GNU screen for opening gdb
screen doesn't start the process in the current working directory
2023-08-06 09:15:30 +10:00
Peter Barker f4c5c56b7d autotest: start_SITL understands SIM_RATE_HZ 2023-07-15 00:13:12 +10:00
Peter Barker d4c5908773 autotest: remove pause after starting ArduPilot binary 2023-06-04 15:24:59 +10:00
Peter Barker 90b91aacc0 autotest: empty buffer after printing prefixed lines
these are just accumulating as-is
2023-06-02 23:33:50 +10:00
Peter Barker 8c5c436652 autotest: prefix all stdout from SITL binary 2023-06-01 11:36:49 +10:00
Peter Barker b90166ab97 Tools: use methods to determine port numbers 2023-05-18 07:53:43 +10:00
Pierre Kancir 31595f2e4d Tools: remove util.py pymavlink dependency by removing old code 2023-04-14 08:23:15 +10:00
bugobliterator 50a760d8a5 Tools: add --enable-dronecan-tests option to autotest 2023-03-29 17:16:39 +11:00
bugobliterator c90cf03619 autotest: replace sitl_32bit with force_32bit 2023-03-29 17:16:39 +11:00
bugobliterator e2509b7c6b autotest: add support for setting number of auxiliary IMUs 2023-03-21 10:04:16 +11:00
Pierre Kancir f8187984a7 Tools: fix flake8 checks 2023-02-04 12:41:06 +11:00
Peter Barker 9d385c815e autotest: util.py: create fake object for MakeOSX SITL object
autotest keeps self.sitl around as a handle on the running SITL binary instance.  MacOSX was returning None for this object, making method calls on it unhelpful.

This fake object will just ignore calls on it.
2022-08-23 17:40:44 +10:00
Peter Barker e182675bc8 autotest: make pysim/util.py AP_FLAKE8_CLEAN 2022-08-23 11:31:01 +10:00
Peter Barker 00d3af6fc5 autotest: handle terrain requests internally to autotest
We will cache all required SRTM data within the autotest branch
2022-08-16 11:12:44 +10:00
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
Willian Galvani 1ab7eeb25f Tools: util.py: fix comment for reltopdir() 2022-03-08 14:29:29 -08:00
Peter Barker 6eba851b00 Revert "Tools: update reltopdir function to use relpath()"
This reverts commit 392911fc62.
2022-02-07 14:13:08 +11:00
Willian Galvani 5cb1444b1d Tools: use path relative to current directory to load parameters 2022-02-02 08:37:17 -08:00
Willian Galvani 6e91ae554a Tools: use relative paths for parameter files 2022-02-01 17:35:26 +11:00
Willian Galvani 392911fc62 Tools: update reltopdir function to use relpath() 2022-02-01 17:35:26 +11:00
Peter Barker 29b8b12538 autotest: add test_build_options to test each entry in build_options.py 2022-01-11 13:24:25 +11:00
Peter Barker 5d811bf57e autotest: disable flightgear output
burning CPU for no good reason
2021-11-30 11:03:05 +11:00
Peter Barker 746d9fda8d autotest: add --callgrind option 2021-11-29 20:46:02 +11:00
Josh Henderson 27bb200644 Tools: add sitl_32bit board type for sim_vehicle & autotests 2021-09-28 09:15:11 +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 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 7e389afbec Tools: allow to build examples and tests with debug 2021-05-26 18:46:03 +10:00
Peter Barker c350268918 autotest: correct compilation of Replay in autotest suite 2021-04-05 16:39:36 +10:00
Peter Barker f0094bac40 autotest: remove copied-in duplicate of pymavlink rotmat 2021-04-03 13:26:06 +11:00
Peter Barker 2c6bdd200c autotest: fix make_safe_filename for Valgrind
Valgrind treats this as a format string so the % is bad
2021-04-02 20:51:18 +11:00
bugobliterator 48277b43e4 Tools: add autotest for checking GPS ordering 2021-03-12 16:32:36 +09:00
Peter Barker 33fee211a4 autotest: extend pexpect timeouts when running under Valgrind 2021-02-17 18:16:04 +11:00
Peter Barker ad2ab333f9 Tools: autotest: allow autotest to connect directly to SITL 2021-01-24 09:25:45 +11:00
Peter Barker 7d86cc08ad autotest: correct SITL commandline for no default parameter file 2021-01-19 10:34:00 +11:00
Peter Barker 210b0e7c5f autotest: stop emitting port 14550 all the time
this can confuse other things going on on the same machine.  It is still
available by specifying --viewerip if desired
2021-01-18 21:46:43 +11:00
Andrew Tridgell 025cf8f72b autotest: cleanup load_local_module 2020-11-10 16:15:45 +11:00
Andrew Tridgell 690af580c9 autotest: abstract out load_local_module()
this will be useful for other tests
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 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