summaryrefslogtreecommitdiffstats
path: root/Lib/test/libregrtest
Commit message (Collapse)AuthorAgeFilesLines
...
* Issue #25220: Enhance regrtest --coverageVictor Stinner2015-09-291-10/+18
| | | | | Add a new Regrtest.run_test() method to ensure that --coverage pass the same options to the runtest() function.
* Issue #25220: Create libregrtest/runtest_mp.pyVictor Stinner2015-09-293-147/+164
| | | | | | | | Move the code to run tests in multiple processes using threading and subprocess to a new submodule. Move also slave_runner() (renamed to run_tests_slave()) and run_test_in_subprocess() (renamed to run_tests_in_subprocess()) there.
* Issue #25220: Split the huge main() function of libregrtest.main into a classVictor Stinner2015-09-291-314/+387
| | | | | | | | | | | | | | | | | with attributes and methods. The --threshold command line option is now ignored if the gc module is missing. * Convert main() variables to Regrtest attributes, document some attributes * Convert accumulate_result() function to a method * Create setup_python() function and setup_regrtest() method. * Import gc at top level * Move resource.setrlimit() and the code to make the module paths absolute into the new setup_python() function. So this code is no more executed when the module is imported, only when main() is executed. We have a better control on when the setup is done. * Move textwrap import from printlist() to the top level. * Some other minor cleanup.
* Oops, revert unwanted change, sorryVictor Stinner2015-09-291-1/+3
|
* testVictor Stinner2015-09-291-3/+1
|
* Issue #25220: Fix Lib/test/autotest.pyVictor Stinner2015-09-271-1/+1
|
* Issue #25220: Move most regrtest.py code to libregrtestVictor Stinner2015-09-266-1/+1269
|
* Issue #25220: Create Lib/test/libregrtest/Victor Stinner2015-09-262-0/+341
| | | | | | | Start to split regrtest.py into smaller parts with the creation of Lib/test/libregrtest/cmdline.py: code to handle the command line, especially parsing command line arguments. This part of the code is tested by test_regrtest.
* Issue #25220: Backed out changeset eaf9a99b6bb8Victor Stinner2015-09-232-341/+0
|
* Issue #25220: Create Lib/test/libregrtest/Victor Stinner2015-09-232-0/+341
Start to split regrtest.py into smaller parts with the creation of Lib/test/libregrtest/cmdline.py.