summaryrefslogtreecommitdiffstats
path: root/Lib/test/libregrtest/run_workers.py
Commit message (Collapse)AuthorAgeFilesLines
* [3.12] chore: fix typos (#116345) (#116370)Terry Jan Reedy2024-03-051-1/+1
| | | | Co-authored-by: cui fliter <imcusg@gmail.com> (cherry picked from commit e7ba6e9dbe5433b4a0bcb0658da6a68197c28630)
* [3.12] gh-109413: libregrtest: Backport `.py`-file changes from #112558 ↵Alex Waygood2023-12-011-3/+6
| | | | (#112605)
* [3.12] gh-109413: regrtest: add WorkerRunTests class (GH-112588) (#112593)Miss Islington (bot)2023-12-011-7/+5
| | | | | | gh-109413: regrtest: add WorkerRunTests class (GH-112588) (cherry picked from commit f8ff80f63536e96b004d29112452a8f1738fde37) Co-authored-by: Victor Stinner <vstinner@python.org>
* [3.12] gh-110918: regrtest: allow to intermix --match and --ignore options ↵Serhiy Storchaka2023-10-211-1/+1
| | | | | | | | | (GH-110919) (GH-111167) 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. (cherry picked from commit 9a1fe09622cd0f1e24c2ba5335c94c5d70306fd0)
* [3.12] gh-110756: Sync regrtest with main branch (#110758)Victor Stinner2023-10-121-0/+607
gh-110756: Sync regrtest with main branch Copy files from main to this branch: * Lib/test/libregrtest/*.py * Lib/test/__init__.py * Lib/test/__main__.py * Lib/test/autotest.py * Lib/test/pythoninfo.py * Lib/test/regrtest.py * Lib/test/test_regrtest.py Do not modify scripts running tests such as Makefile.pre.in, .github/workflows/build.yml or Tools/scripts/run_tests.py: do not use --fast-ci and --slow-ci in this change. Changes: * SPLITTESTDIRS: don't include test_inspect. * Add utils.process_cpu_count() using len(os.sched_getaffinity(0)). * test_regrtest doesn't use @support.without_optimizer which doesn't exist in Python 3.12. * Add support.set_sanitizer_env_var(). * Update test_faulthandler to use support.set_sanitizer_env_var().