summaryrefslogtreecommitdiffstats
path: root/Lib/test/regrtest.py
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* | Merge from 3.3: Issue #15324: Fix regrtest --fromfile, --match, --randomize.Chris Jerdonek2012-12-281-3/+3
|\ \ | |/
| * Merge from 3.2: Issue #15324: Fix regrtest --fromfile, --match, --randomize.Chris Jerdonek2012-12-281-3/+3
| |\
| | * Issue #15324: Fix regrtest parsing of --fromfile, --match, and --randomize.Chris Jerdonek2012-12-281-3/+3
| | |
* | | Replace IOError with OSError (#16715)Andrew Svetlov2012-12-251-1/+1
| | |
* | | Issue #13390: New function :func:`sys.getallocatedblocks()` returns the ↵Antoine Pitrou2012-12-091-17/+37
| | | | | | | | | | | | | | | | | | number of memory blocks currently allocated. Also, the ``-R`` option to regrtest uses this function to guard against memory allocation leaks.
* | | Issue #10966: Remove the concept of unexpected skipped tests.Brett Cannon2012-11-181-293/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The concept of what was unexpected was typically defined as "some depencendy wasn't installed", which isn't unexpected at all as it's totally optional. Since it confuses new contributors as they think something is wrong with their installation it seems sensible to get rid of the concept. This change also adds the concept of optional tests that are required to work on a specific platform(s) (e.g. test_winreg on Windows). This should help catch compile issues instead of a test being blindly skipped even when it should have run. The skipped test list in the future can also print out the reason for being skipped to make it more obvious as to why the skipping occurred.
* | | Use importlib instead of calling __import__ directly.Brett Cannon2012-11-141-2/+1
| | |
* | | merge #15889: make regrtest --start succeed in more cases.R David Murray2012-10-271-2/+2
|\ \ \ | |/ / | | | | | | Patch by Chris Jerdonek.
| * | merge #15889: make regrtest --start succeed in more cases.R David Murray2012-10-271-2/+2
| |\ \ | | |/ | | | | | | Patch by Chris Jerdonek.
| | * #15889: make regrtest --start succeed in more cases.R David Murray2012-10-271-2/+2
| | | | | | | | | | | | Patch by Chris Jerdonek.
* | | Closes #16135: Removal of OS/2 supportJesus Cea2012-10-051-14/+0
|/ /
* | Closes #15632: regrtest.py: fix spurious refleaks due to various cachesStefan Krah2012-08-171-4/+9
| | | | | | | | filling up with random data.
* | regrtest: give more information when a child process fails with an errorVictor Stinner2012-08-081-3/+5
| | | | | | | | different than KeyboardInterrupt
* | Issue #15320: Make iterating the list of tests thread-safe when running ↵Antoine Pitrou2012-07-251-13/+29
|\ \ | |/ | | | | | | | | tests in multiprocess mode. Patch by Chris Jerdonek.
| * Issue #15320: Make iterating the list of tests thread-safe when running ↵Antoine Pitrou2012-07-251-12/+28
| | | | | | | | | | | | tests in multiprocess mode. Patch by Chris Jerdonek.
* | Close #15386: There was a loophole that meant importlib.machinery and imp ↵Nick Coghlan2012-07-201-0/+3
| | | | | | | | would sometimes reference an uninitialised copy of importlib._bootstrap
* | Issue #15300: Ensure the temporary test working directories are in the same ↵Antoine Pitrou2012-07-111-1/+5
|\ \ | |/ | | | | | | | | parent folder when running tests in multiprocess mode from a Python build. Patch by Chris Jerdonek.
| * Issue #15300: Ensure the temporary test working directories are in the same ↵Antoine Pitrou2012-07-111-1/+5
| | | | | | | | | | | | parent folder when running tests in multiprocess mode from a Python build. Patch by Chris Jerdonek.