Commit Graph

13 Commits

Author SHA1 Message Date
Pierre Kancir 31ee88adbb Tools: use isinstance for type comparison 2023-09-02 13:27:25 +10:00
Pierre Kancir 904486c846 Tools: fix flake8 test 2023-09-02 13:27:25 +10:00
Peter Barker 40a3e076fc autotest: bisect-helper.py: improve py2 compatability, improve diagnostics 2023-05-04 13:01:18 +10:00
Peter Barker 237bcf7b7a Tools: remove old bufsize parameters 2023-05-04 13:00:48 +10:00
Peter Barker cda2e0f30c Tools: bisect-helper.py: require a failure string if doing a --build 2023-05-02 22:25:56 +10:00
Peter Barker b3b0abe6c1 Tools: bisect_helper.py: update submodules when bisecting build 2022-11-08 09:01:12 +11:00
Peter Barker 3a859b4173 Tools: fix bisect helper
Python3 made stringification different, showing up this problem
2022-11-08 09:01:12 +11:00
Luiz Georg be9e0aefd8 Autotest: fixes bisect-helper for python 3.10 2022-09-15 10:52:33 +10:00
Peter Barker cee348d082 Tools: make and declare bisect-helper.py flake8-compliant 2021-04-01 19:11:50 +11:00
Peter Barker 567e9733b6 autotest: augment bisect-helper.py to help with flapping tests
- option to allow for a string which must be present in the outout
 - option for strings which must not be present in the output
 - repeat option so test must pass many times
 - elaborate diagnostic output
 - option to run under Valgrind (to provoke races)

The output from each test run is poked into a directory in /tmp

The number of runs a test took to fail is poked into a different file in /tmp, helping to tune the --autotest-test-passes parameter
2021-02-04 16:22:28 +11:00
Peter Barker 76b0b0429f autotest: add another example on bisect helper 2020-12-18 07:48:34 +11:00
Peter Barker 50957fff89 Tools: autotest: bisect-helper.py can run autotest by name 2020-12-11 07:35:02 +11:00
Peter Barker 8b9ce3869c Tools: add bisect-helper.py
This is the start of a tool to help bisect problems with ArduPilot.

Currently it only helps bisect build errors.
2018-03-09 10:38:48 +11:00