diff options
author | Pablo Galindo <Pablogsal@gmail.com> | 2019-11-19 23:46:49 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-19 23:46:49 (GMT) |
commit | e0cd8aa70a3ce19c3d3712568940aa0cbd9aa97b (patch) | |
tree | 6399ae3384460b71742378f52878cd11464f9e17 /Misc | |
parent | ef5aa9af7c7e493402ac62009e4400aed7c3d54e (diff) | |
download | cpython-e0cd8aa70a3ce19c3d3712568940aa0cbd9aa97b.zip cpython-e0cd8aa70a3ce19c3d3712568940aa0cbd9aa97b.tar.gz cpython-e0cd8aa70a3ce19c3d3712568940aa0cbd9aa97b.tar.bz2 |
bpo-37957: Allow regrtest to receive a file with test (and subtests) to ignore (GH-16989)
When building Python in some uncommon platforms there are some known tests that will fail. Right now, the test suite has the ability to ignore entire tests using the -x option and to receive a filter file using the --matchfile filter. The problem with the --matchfile option is that it receives a file with patterns to accept and when you want to ignore a couple of tests and subtests, is too cumbersome to lists ALL tests that are not the ones that you want to accept and he problem with -x is that is not easy to ignore just a subtests that fail and the whole test needs to be ignored.
For these reasons, add a new option to allow to ignore a list of test and subtests for these situations.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Tests/2019-10-30-00-01-43.bpo-37957.X1r78F.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Tests/2019-10-30-00-01-43.bpo-37957.X1r78F.rst b/Misc/NEWS.d/next/Tests/2019-10-30-00-01-43.bpo-37957.X1r78F.rst new file mode 100644 index 0000000..75e186e --- /dev/null +++ b/Misc/NEWS.d/next/Tests/2019-10-30-00-01-43.bpo-37957.X1r78F.rst @@ -0,0 +1,3 @@ +test.regrtest now can receive a list of test patterns to ignore (using the +-i/--ignore argument) or a file with a list of patterns to ignore (using the +--ignore-file argument). Patch by Pablo Galindo. |