[issue29512] regrtest refleak: implement bisection feature

STINNER Victor report at bugs.python.org
Thu Jun 1 16:46:18 EDT 2017


STINNER Victor added the comment:

Serhiy: "I don't understand how issue30523 and issue30540 can help to resolve this issue."

- issue30523 produces a list of all test methods
- issue30540 allows to pass a file to filter tests
- attached bisect_test.py takes an input file produced by --list-tests and uses --matchfile to run tests

Example of usage:

./python bisect_test.py test_tools tests bisect -n 5 

* bisect -R 3:3 on test_tools
* tests contains the list of test identifiers to test_tools
* write result into the file "bisect"
* stop bisection when there is 5 tests or less

----------
Added file: http://bugs.python.org/file46918/bisect_test.py

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29512>
_______________________________________


More information about the Python-bugs-list mailing list