[New-bugs-announce] [issue37957] Allow regrtest to receive a file with test (and subtests) to ignore

Pablo Galindo Salgado report at bugs.python.org
Mon Aug 26 20:03:54 EDT 2019


New submission from Pablo Galindo Salgado <pablogsal at gmail.com>:

When building Python in some uncommon platforms (I am looking at you Solaris and AIX) there are some known tests that will fail. Right now, regrtest 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.

The problem with -x is that is not easy to ignore just a subtests that fail and the whole tests needs to be ignored.

So I suggest to add a new command line option similar to --matchfile but the other way around. Another possibility is allowing to reverse the meaning of the matchfile argument, but I find that a bit more confusing.

----------
components: Tests
messages: 350584
nosy: pablogsal, vstinner
priority: normal
severity: normal
status: open
title: Allow regrtest to receive a file with test (and subtests) to ignore
type: enhancement
versions: Python 3.8, Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37957>
_______________________________________


More information about the New-bugs-announce mailing list