]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-110918: regrtest: allow to intermix --match and --ignore options (GH-110919)
authorSerhiy Storchaka <storchaka@gmail.com>
Sat, 21 Oct 2023 14:44:46 +0000 (17:44 +0300)
committerGitHub <noreply@github.com>
Sat, 21 Oct 2023 14:44:46 +0000 (17:44 +0300)
commit9a1fe09622cd0f1e24c2ba5335c94c5d70306fd0
treedbe875ddc77513b66d98d172a02dd81783132b37
parentb578e51f026a45576930816d6784697192ed472e
gh-110918: regrtest: allow to intermix --match and --ignore options (GH-110919)

Test case matching patterns specified by options --match, --ignore,
--matchfile and --ignorefile are now tested in the order of
specification, and the last match determines whether the test case be run
or ignored.
12 files changed:
Lib/test/libregrtest/cmdline.py
Lib/test/libregrtest/findtests.py
Lib/test/libregrtest/main.py
Lib/test/libregrtest/run_workers.py
Lib/test/libregrtest/runtests.py
Lib/test/libregrtest/setup.py
Lib/test/libregrtest/utils.py
Lib/test/libregrtest/worker.py
Lib/test/support/__init__.py
Lib/test/test_regrtest.py
Lib/test/test_support.py
Misc/NEWS.d/next/Tests/2023-10-16-13-47-24.gh-issue-110918.aFgZK3.rst [new file with mode: 0644]