Commit Graph

5 Commits

Author SHA1 Message Date
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