summaryrefslogtreecommitdiffstats
path: root/Lib/test/regrtest.py
Commit message (Collapse)AuthorAgeFilesLines
* bpo-37473: Don't import importlib ASAP in tests (GH-14661)Victor Stinner2019-07-141-3/+0
| | | | | | | | | bpo-15386, bpo-37473: test_import, regrtest and libregrtest no longer import importlib as soon as possible, as the first import, "to test bpo-15386". It is tested by test_import.test_there_can_be_only_one(). Sort test_import imports.
* Issue #28950: Disallow -j0 combined with -T/-l in regrtest.Xiang Zhang2016-12-191-0/+0
|\
| * Issue #28950: Disallow -j0 combined with -T/-l/-M in regrtest.Xiang Zhang2016-12-191-3/+3
| |
| * Issue #28688: Remove warnings.filters check from regrtestVictor Stinner2016-11-211-7/+1
| | | | | | | | | | | | | | | | Reloading the warnings module duplicates filters in warnings.filters. Fixing the issue is tricky. It was decided to simply remove the check from Python 3.5, since the bug only impacts Python unit tests, not real applications. The check is kept in Python 3.6 and newer.
| * Issue #23839: Various caches now are cleared before running every test file.Serhiy Storchaka2016-11-111-25/+85
| |
| * Issue #28649: Clear the typing module caches when search for reference leaks.Serhiy Storchaka2016-11-091-0/+8
| |
| * Issue #28409: regrtest: fix the parser of command line arguments.Victor Stinner2016-10-171-4/+7
| |
| * Issue #27829: regrtest -W displays stderr if env changedVictor Stinner2016-09-231-1/+1
| | | | | | | | | | | | regrtest -W hides output if a test pass, but also when env changed and so the env changed warning is hidden. So it's hard to debug. With this change, stderr is now always displayed when a test doesn't pass.
| * regrtest: accept options after test namesVictor Stinner2016-09-101-1/+1
| |
| * Issue #27787: Clean up weak references before checking for dangling threadsMartin Panter2016-08-201-0/+1
| |
| * Issue #26643: Add missing shutil resources to regrtest.pyVictor Stinner2016-03-291-0/+1
| |
| * Issue #25523: Merge a-to-an corrections from 3.4.Serhiy Storchaka2015-11-021-1/+1
| |\
| | * Issue #25523: Further a-to-an corrections.Serhiy Storchaka2015-11-021-1/+1
| | |
| * | lose #25373: Fix regrtest --slow with interrupted testVictor Stinner2015-10-111-1/+2
| | |
| * | Issue #23919: Prevents assert dialogs appearing in the test suite.Steve Dower2015-10-081-2/+11
| | |
* | | 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.