[Python-Dev] New work-in-progress bisection tool for the Python test suite (in regrtest)

Eric V. Smith eric at trueblade.com
Tue Jun 27 20:54:45 EDT 2017


That's great, Victor. Thanks for all of your work on this.

Eric.

On 6/27/2017 8:39 PM, Victor Stinner wrote:
> 2017-06-27 7:33 GMT+02:00 Serhiy Storchaka <storchaka at gmail.com>:
>> You could make it just a submodule in the test package.
>>
>>      ./python -m test.bisect -R 3:3 test_os
> 
> I like the idea :-) I proposed a PR which was approved by Yury
> Selivanov, and so I just merged it! It means that you can now play
> with "./python -m test.bisect" in the master branch. Enjoy ;-)
> Example:
> 
>     ./python -m test.bisect -R 3:3 test_multiprocessing_forkserver
> 
> This command should give you the name of the two failing test methods
> which are the last known reference leaks!
> => http://bugs.python.org/issue30775
> 
> This specific bisection is very slow since running the 286 tests of
> test_multiprocessing_forkserver using -R 3:3 takes longer than 3
> minutes on my laptop! And the answer is already know, see the bpo ;-)
> 
> FYI, apart of the bpo-30775, all other reference leaks now seem to be
> fixed on 2.7, 3.5, 3.6 and master branches! Tested on Windows and
> Linux.
> 
> Victor
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> https://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe: https://mail.python.org/mailman/options/python-dev/eric%2Ba-python-dev%40trueblade.com
> 



More information about the Python-Dev mailing list