On Mon, 26 Jun 2017 at 09:38 Victor Stinner <victor.stinner at gmail.com> wrote: > Hi, > > I updated my bisect_test.py script to simplify its command line: > > https://github.com/haypo/misc/blob/master/python/bisect_test.py > > To debug a reference leak in test_os, now just type: > > $ ./python bisect_test.py -R 3:3 test_os > > Example of output: > --- > (...) > Failing tests (1): > * test.test_os.ExecTests.test_execve_invalid_env > > Bisection completed in 24 iterations and 0:02:11 > --- > > In 2 minutes, you get the guilty: test_execve_invalid_env()! It's now > fully automated! > > > I also added --fail-env-changed option to regrtest. Using this option, > you can find which test leaked a file, and modified any other resource > tracked by regrtest. For examle, I used this command to find which > test method of test_subprocess created a core dump file: > > $ ./python bisect_test.py --fail-env-changed test_subprocess > > > Later, I will try to integrate this tiny tool in Python. Maybe > somewhere in Tools/. Or better, maybe directly in regrtest? > I don't see why regrtest isn't the right place for this. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20170626/18194cec/attachment.html>
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4