Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [3.12] gh-110756: Sync regrtest with main branch (#110758) | Victor Stinner | 2023-10-12 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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(). | ||||
* | Cleanup regrtest "main()" function | Victor Stinner | 2016-03-24 | 1 | -3/+2 |
| | | | | | | | * Rename libregrtest.main_in_temp_cwd() to libregrtest.main() * Add regrtest.main_in_temp_cwd() alias to libregrtest.main() * Move old main_in_temp_cwd() code into libregrtest.Regrtest.main() * Update multiple scripts to call libregrtest.main() | ||||
* | Issue #17283: Share code between __main__.py and regrtest.py in Lib/test. | Chris Jerdonek | 2013-02-27 | 1 | -12/+2 |
| | | | | This commit also removes TESTCWD from regrtest.py's global namespace. | ||||
* | Factor out common code from lib/test/__main__.py and lib/test/regrtest.py ↵ | Michael Foord | 2010-12-03 | 1 | -32/+3 |
| | | | | into a function. | ||||
* | Fix lib/test/__main__.py to work even outside a Python build. | Michael Foord | 2010-12-03 | 1 | -0/+2 |
| | |||||
* | Adding lib/test/__main__.py for running tests with 'python -m test' | Michael Foord | 2010-12-03 | 1 | -0/+40 |
| | |||||
* | Remove test/__main__.py until runpy tests can be fixed | Michael Foord | 2010-12-03 | 1 | -40/+0 |
| | |||||
* | Set test.regrtest.TEMPDIR correctly when run with 'python -m test' | Michael Foord | 2010-12-03 | 1 | -2/+4 |
| | |||||
* | Initial implementation of Lib/test/__main__.py so we can run tests with ↵ | Michael Foord | 2010-12-03 | 1 | -0/+38 |
'python -m test' |