[3.5] bpo-30540, bpo-30523: Add --matchfile and --list-cases options to regrtest#2250
Merged
vstinner merged 2 commits intopython:3.5from Jun 16, 2017
vstinner:regrtest35
Merged
[3.5] bpo-30540, bpo-30523: Add --matchfile and --list-cases options to regrtest#2250vstinner merged 2 commits intopython:3.5from vstinner:regrtest35
vstinner merged 2 commits intopython:3.5from
vstinner:regrtest35
Conversation
* Add a new option taking a filename to get a list of test names to filter tests. * support.match_tests becomes a list. * Modify run_unittest() to accept to match the whole test identifier, not just a part of a test identifier. For example, the following command only runs test_access() of the FileTests class of test_os: $ ./python -m test -v -m test.test_os.FileTests.test_access test_os
* Add --list-cases option to regrtest * Add get_abs_module() function, use it in list_cases() * Add ns mandatory positional argument to runtest() and runtest_inner() * Add file optional parameter to printlist() Co-Authored-By: Louie Lu <[email protected]>
Member
Author
|
Sadly, Python 3.5 doesn't have functional tests on regrtest yet, but @mlouielu is working on backporting these tests from the master branch. I tested --matchfile= and --list-cases functions manually. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.