summaryrefslogtreecommitdiffstats
path: root/Lib/test/regrtest.py
Commit message (Collapse)AuthorAgeFilesLines
* Cleanup regrtest "main()" functionVictor Stinner2016-03-241-3/+3
| | | | | | | * 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()
* Cleanup regrtest.pyVictor Stinner2016-03-241-5/+16
| | | | | | * Move code into a new _main() function * Fix loop to cleanup sys.path * Remove unused import
* Merge with 3.5.Serhiy Storchaka2015-10-061-0/+0
|\
| * Issue #25188: Add a -P/--pgo flag to regrtest to silence error output.Brett Cannon2015-10-021-34/+50
| | | | | | | | | | | | Since PGO building doesn't care about test failures, silence them when running the test suite for performance reasons. Initial patch by Alecsandru Patrascu of Intel.
* | Issue #25220: Fix Lib/test/autotest.pyVictor Stinner2015-09-271-1/+1
| |
* | Issue #25220: Move most regrtest.py code to libregrtestVictor Stinner2015-09-261-1224/+1
| |
* | Issue #25220: Create Lib/test/libregrtest/Victor Stinner2015-09-261-330/+2
| | | | | | | | | | | | | | 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-231-2/+330
| |
* | Issue #25220: Create Lib/test/libregrtest/Victor Stinner2015-09-231-330/+2
|/ | | | | Start to split regrtest.py into smaller parts with the creation of Lib/test/libregrtest/cmdline.py.
* Merge 3.4Zachary Ware2015-08-091-4/+2
|\
| * regrtest: the 'bad' and 'environment_changed' sets of tests don't intersect ↵Zachary Ware2015-08-091-4/+2
| | | | | | | | anymore
* | Issue #24751: Merge with 3.4Zachary Ware2015-08-051-1/+8
|\ \ | |/
| * Issue #24751: When running regrtest with '-w', don't fail if re-run succeeds.Zachary Ware2015-08-051-3/+8
| |
* | Issue #24245: Eliminated senseless expect clauses that have no any effect.Serhiy Storchaka2015-05-201-4/+0
| | | | | | | | Patch by Martin Panter.
* | Issue #22390: test.regrtest now emits a warning if temporary files orSerhiy Storchaka2015-03-291-15/+11
|\ \ | |/ | | | | directories are left after running a test.
| * Issue #22390: test.regrtest now emits a warning if temporary files orSerhiy Storchaka2015-03-291-15/+11
| | | | | | | | directories are left after running a test.
* | Issue #23145: regrtest now shows errors and raises an exception ifVictor Stinner2015-01-061-0/+4
|/ | | | loader.loadTestsFromModule() logged errors.
* Issue #22104: Don't hold a reference to the loaded TestSuite in runtest_innerZachary Ware2014-08-041-2/+4
|
* merge 3.3Benjamin Peterson2014-02-161-6/+3
|\
| * backout fafac90b69c4Benjamin Peterson2014-02-161-7/+4
| |
* | merge 3.3Benjamin Peterson2014-01-091-3/+6
|\ \ | |/
| * clear zip stat cache after each ref leak runBenjamin Peterson2014-01-091-4/+7
| |
* | ssue #19183: Implement PEP 456 'secure and interchangeable hash algorithm'.Christian Heimes2013-11-201-0/+2
| | | | | | | | Python now uses SipHash24 on all major platforms.
* | Remove unused --debug option of regrtest.Eli Bendersky2013-09-031-9/+7
| | | | | | | | | | If bots fail due to using this flag, the buildbot scripts have to be modified to omit it. Regrtest ignores it anyway.
* | Fix docstring and some indentationEli Bendersky2013-09-021-4/+4
| |
* | Refactor the main function of regrtest a bit.Eli Bendersky2013-09-021-23/+33
| | | | | | | | Moving subprocess execution of tests into a function.
* | Issue #11798: fix tests for regrtest -R :Andrew Svetlov2013-09-011-0/+5
| |
* | Issue #8713: Cleanup before saving process._dangling.Richard Oudkerk2013-08-291-2/+6
| |
* | Issue #16799: Switched from getopt to argparse style in regrtest's argumentSerhiy Storchaka2013-08-291-290/+243
| | | | | | | | parsing. Added more tests for regrtest's argument parsing.
* | Issue #8713: Support alternative start methods in multiprocessing on Unix.Richard Oudkerk2013-08-141-1/+1
| | | | | | | | See http://hg.python.org/sandbox/sbt#spawn
* | Issue #18375: merge with 3.3Florent Xicluna2013-07-061-0/+1
|\ \ | |/
| * Issue #18375: Assume --randomize when --randseed is used for running the ↵Florent Xicluna2013-07-061-0/+1
| | | | | | | | testsuite.
* | Issue #15767: Excise the remaining instances of ModuleNotFoundErrorBrett Cannon2013-07-041-8/+8
| |
* | Issue #17914: Use os.cpu_count() instead of multiprocessing.cpu_count() whereCharles-François Natali2013-06-281-6/+2
| | | | | | | | applicable.
* | Issue #17206: test.regrtest and test.script_helper enable faulthandler moduleVictor Stinner2013-06-251-1/+2
| | | | | | | | in subprocesses.
* | Issue #18228: Use locale.setlocale(name, None) instead ofVictor Stinner2013-06-171-2/+2
| | | | | | | | | | | | | | locale.getlocale(name) in test.regrtest.saved_test_environment locale.getlocale() parses the locale, which is useless for saved_test_environment.
* | Issue #18228: Fix locale test of test.regrtest.saved_test_environmentVictor Stinner2013-06-171-2/+3
| | | | | | | | | | Skip LC_ALL becore getlocale(locale.LC_ALL) always fail, and catch also ValueError.
* | (Merge 3.3) regrtest.py: Fix another typo in the usage of the faulthandler ↵Victor Stinner2013-06-171-1/+1
|\ \ | |/ | | | | module
| * regrtest.py: Fix another typo in the usage of the faulthandler moduleVictor Stinner2013-06-171-1/+1
| |
* | (Merge 3.3) regrtest.py: Fix typo in the usage of the faulthandler moduleVictor Stinner2013-06-171-3/+3
|\ \ | |/
| * regrtest.py: Fix typo in the usage of the faulthandler moduleVictor Stinner2013-06-171-3/+3
| |
* | Check that warnings.showwarning() is not changed.Brett Cannon2013-06-161-1/+6
| |
* | Move test___all__ over to unittest.main() and use ModuleNotFoundErrorBrett Cannon2013-06-131-8/+8
| |
* | Issue #14135: Let's try this again.Brett Cannon2013-04-011-1/+15
| |
* | Backed out changeset 4fcd50a6dca7 as it totally breaks the test suite here.Antoine Pitrou2013-04-011-10/+1
| |
* | Issue #14135: Make sure tests don't leave the locale changed for anyBrett Cannon2013-04-011-1/+10
| | | | | | | | | | | | | | category. Thanks to Westley Martinez for trying to fix the issue and Atsuo Ishimoto for an initial patch.
* | Issue #17283: Share code between __main__.py and regrtest.py in Lib/test.Chris Jerdonek2013-02-271-18/+20
| | | | | | | | This commit also removes TESTCWD from regrtest.py's global namespace.
* | #16259: delete some no-longer-used code from regrtest.R David Murray2013-01-121-9/+1
| | | | | | | | | | dash_R is only called from one location, and from that location an indirect_test is passed.
* | Issue #16854: Fix regrtest.usage() regression introduced in 6e2e5adc0400.Chris Jerdonek2013-01-081-24/+28
| | | | | | | | | | This fixes a regression introduced in the commit for issue #15302, which switched regrtest from getopt to argparse.
* | Issue #15302: Switch regrtest from using getopt to using argparse.Chris Jerdonek2012-12-281-77/+147
| | | | | | | | | | | | This is the first step in refactoring regrtest to use argparse. The regrtest module's main() function still expects a getopt-style return value rather than an argparse.Namespace instance.