This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients ezio.melotti, ncoghlan, serhiy.storchaka, vstinner, xiang.zhang
Date 2017-05-02.17:19:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1493745583.13.0.200085000126.issue30236@psf.upfronthosting.co.za>
In-reply-to
Content
Proposed patch adds options -m/--match and -G/--failfast for test.regrtest in 2.7. They are two the most wanted by me features absent in 2.7.

I use them when add new test in long running test file. Often this needs running the test multiple times, incrementally changing the test or code until the test cover all cases and successful. Waiting running other tests in the same file is just waste of time.

Other cases -- fast running tests related to some feature in different files. For example -m '*ickl*' allows to run all pickle-related tests.

The code is backported from 3.3. This is the last version using getopt and the most compatible with 2.7. There was several major rewriting of regrtest in following versions.
History
Date User Action Args
2017-05-02 17:19:43serhiy.storchakasetrecipients: + serhiy.storchaka, ncoghlan, vstinner, ezio.melotti, xiang.zhang
2017-05-02 17:19:43serhiy.storchakasetmessageid: <1493745583.13.0.200085000126.issue30236@psf.upfronthosting.co.za>
2017-05-02 17:19:43serhiy.storchakalinkissue30236 messages
2017-05-02 17:19:43serhiy.storchakacreate