You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But what about doctests? They are run unconditionally.
Sorry, I don't know how to handle them. I only tried to make a small enhancement for my "bisect" usecase. If you see a way to handle them, don't hesitate to propose a patch!
I would prefer to have time to play with the new feature before backporting it to stable branches. If someone needs this feature right now in stable branches, speak up and maybe also reopen the issue ;-)
My change was merged (with unit tests!), so I close the issue.
Activity
vstinner commentedon Jun 1, 2017
Attached pull request adds the --matchfile option to regrtest.
For example, the following command only runs test_default_timeout() of the BarrierTests class of test_threading:
$ ./python -m test -v test_threading -m test.test_threading.BarrierTests.test_default_timeout
vstinner commentedon Jun 1, 2017
This issue is the last part to implement the issue bpo-29512: "regrtest refleak: implement bisection feature".
See also the second part, bpo-30523: unittest: add --list-tests option to only display the list of test names, don't run tests.
serhiy-storchaka commentedon Jun 3, 2017
I less need reading test names from a file than other changes in this file. :)
But what about doctests? They are run unconditionally.
vstinner commentedon Jun 9, 2017
New changeset ef8320c by Victor Stinner in branch 'master':
bpo-30540: regrtest: add --matchfile option (bpo-1909)
ef8320c
vstinner commentedon Jun 9, 2017
Sorry, I don't know how to handle them. I only tried to make a small enhancement for my "bisect" usecase. If you see a way to handle them, don't hesitate to propose a patch!
I would prefer to have time to play with the new feature before backporting it to stable branches. If someone needs this feature right now in stable branches, speak up and maybe also reopen the issue ;-)
My change was merged (with unit tests!), so I close the issue.
vstinner commentedon Jun 16, 2017
New changeset a0ccc54 by Victor Stinner in branch '3.6':
Synchronize libregrtest from master to 3.6 (bpo-2244)
a0ccc54
vstinner commentedon Jun 16, 2017
New changeset 24c2c20 by Victor Stinner in branch '2.7':
bpo-30540, bpo-30523: Add --matchfile and --list-cases options to regrtest (bpo-2249)
24c2c20
vstinner commentedon Jun 16, 2017
New changeset 46e299c by Victor Stinner in branch '3.5':
[3.5] bpo-30540, bpo-30523: Add --matchfile and --list-cases options to regrtest (bpo-2250)
46e299c