summaryrefslogtreecommitdiffstats
path: root/Lib/test/regrtest.py
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* | Flush stdout and stderr when running tests in parallelAntoine Pitrou2012-06-271-0/+2
|\ \ | |/ | | | | (helps getting results in real-time when stdio is transmitted over a pipe or socket)
| * Flush stdout and stderr when running tests in parallelAntoine Pitrou2012-06-271-0/+2
| | | | | | | | (helps getting results in real-time when stdio is transmitted over a pipe or socket)
* | Packaging removal: also revert introduction of sysconfig.cfg.Éric Araujo2012-06-241-10/+8
| | | | | | | | | | | | | | We need a discussion to define what should be customized how; this new config file is premature. It was added to serve the needs of the resources system in install_data / packaging.database, so it can be removed alongside packaging for 3.3.
* | Remove packaging from the standard library.Éric Araujo2012-06-241-41/+0
| | | | | | | | | | | | Distutils2 will live on on PyPI and be included in the stdlib when it is ready. See discussion starting at http://mail.python.org/pipermail/python-dev/2012-June/120430.html
* | Implemented PEP 405 (Python virtual environments).Vinay Sajip2012-05-261-1/+1
| |
* | #14533: if a test has no test_main, use loadTestsFromModule.R David Murray2012-04-091-7/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This moves us further in the direction of using normal unittest facilities instead of specialized regrtest ones. Any test module that can be correctly run currently using 'python unittest -m test.test_xxx' can now be converted to use normal unittest test loading by simply deleting its test_main, thus no longer requiring manual maintenance of the list of tests to run. (Not all tests can be converted that easily, since test_main sometimes does some additional things (such as reap_children or reap_threads). In those cases the extra code may be moved to setUpModule/tearDownModule methods, or perhaps the same ends can be achieved in a different way, such as moving the decorators to the test classes that need them, etc.) I don't advocate going through and making this change wholesale, but any time a list of tests in test_main would otherwise need to be updated, consideration should instead be given to deleting test_main.
* | Closes #14158: merged test file resilience fix from 3.2.Vinay Sajip2012-03-021-4/+19
|\ \ | |/
| * Closes #14158: improved resilience to test files left behind.Vinay Sajip2012-03-021-5/+22
| |
| * Remove setting hash seed to regrtest's random seed and re-execv()ing: this ↵Georg Brandl2012-02-201-5/+0
| | | | | | | | doesn't preserve Python flags and fails from a temp directory.
| * Merge from 3.1: Issue #13703: add a way to randomize the hash values of ↵Georg Brandl2012-02-201-0/+5
| |\ | | | | | | | | | | | | | | | | | | | | | | | | basic types (str, bytes, datetime) in order to make algorithmic complexity attacks on (e.g.) web apps much more complicated. The environment variable PYTHONHASHSEED and the new command line flag -R control this behavior.
| | * Issue #13703: add a way to randomize the hash values of basic types (str, ↵Georg Brandl2012-02-201-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | bytes, datetime) in order to make algorithmic complexity attacks on (e.g.) web apps much more complicated. The environment variable PYTHONHASHSEED and the new command line flag -R control this behavior.
* | | Issue #13786: Remove unimplemented 'trace' long option from regrtest.py.Meador Inge2012-01-141-1/+1
|\ \ \ | |/ /
| * | Issue #13786: Remove unimplemented 'trace' long option from regrtest.py.Meador Inge2012-01-141-1/+1
| | |
* | | Issue #13725: regrtest does not recognize -d flag.Meador Inge2012-01-141-1/+1
|\ \ \ | |/ / | | | | | | Patch by Erno Tukia.
| * | Issue #13725: regrtest does not recognize -d flag.Meador Inge2012-01-141-1/+1
| | | | | | | | | | | | Patch by Erno Tukia.
* | | merge from 3.2 - Fix issue13726: -S accepts an argument just as --start.Senthil Kumaran2012-01-141-1/+1
|\ \ \ | |/ /
| * | Fix issue13726: -S accepts an argument just as --start.Senthil Kumaran2012-01-141-1/+1
| | |
* | | merge from 3.2Senthil Kumaran2012-01-141-1/+1
|\ \ \ | |/ /
| * | Adding the -o option for Issue13726Senthil Kumaran2012-01-141-1/+1
| | |
* | | merge from 3.2Senthil Kumaran2012-01-141-2/+2
|\ \ \ | |/ /
| * | Issue13726 - Fix the ambiguous -S flag in regrtest. It is -o/--slow for ↵Senthil Kumaran2012-01-141-2/+2
| | | | | | | | | | | | printing the 10 slowest test.
* | | Merge 3.2Éric Araujo2011-11-291-0/+18
|\ \ \ | |/ /
| * | Add a regrtest cleanup check for shutil registriesÉric Araujo2011-11-291-0/+19
| | |
* | | Issue #13380: add an internal function for resetting the ctypes cachesMeador Inge2011-11-261-0/+7
|\ \ \ | |/ /
| * | Issue #13380: add an internal function for resetting the ctypes cachesMeador Inge2011-11-261-0/+7
| | |
* | | Branch mergeÉric Araujo2011-11-151-1/+1
|\ \ \
| * | | Fix a few typosÉric Araujo2011-11-141-1/+1
| | | |
* | | | Mark test_devpoll as unexpected on most platformsAntoine Pitrou2011-11-151-0/+7
|/ / /
* | | Make sure packaging tests that register custom commands also clear themÉric Araujo2011-11-061-1/+18
| | |
* | | Simplify and remove few dependencies on 'errno', thanks to PEP 3151.Florent Xicluna2011-10-281-4/+2
| | |
* | | Add regrtest check for caches in packaging.database (see #12167)Éric Araujo2011-10-061-0/+24
| | |
* | | Make regrtest look at internal dicts in sysconfig.Éric Araujo2011-09-191-1/+24
| | | | | | | | | | | | | | | This reveals problems in the packaging test suite, which I’ll look into after the regrtest checks are made more usable (see #12314).
* | | Merge: Make regrtest complain when -M and -j are used together.Nadeem Vawda2011-08-271-0/+2
|\ \ \ | |/ / | | | | | | | | | | | | | | | -j doesn't pass the memlimit on to child processes, so this doesn't work at present, and even if it did, running multiple bigmem tests at once would usually not be desirable (since you generally want to devote as much of the available RAM as possible to each test).
| * | Make regrtest complain when -M and -j are used together.Nadeem Vawda2011-08-271-0/+2
| | | | | | | | | | | | | | | | | | | | | -j doesn't pass the memlimit on to child processes, so this doesn't work at present, and even if it did, running multiple bigmem tests at once would usually not be desirable (since you generally want to devote as much of the available RAM as possible to each test).
* | | Issue #11657: Fix sending file descriptors over 255 over a multiprocessing Pipe.Antoine Pitrou2011-08-231-1/+0
|\ \ \ | |/ / | | | | | | Also added some tests.
| * | A warning doesn't equate a failed testAntoine Pitrou2011-08-231-1/+0
| | | | | | | | | | | | (this broken -F with e.g. test_multiprocessing)
* | | Issue #12326: don't test the major version of sys.platformVictor Stinner2011-08-171-37/+37
| | | | | | | | | | | | | | | Use startswith, instead of ==, when testing sys.platform to support new platforms like Linux 3 or OpenBSD 5.
* | | Issue #11651: Move options for running tests into a Python script.Nadeem Vawda2011-08-011-0/+7
| | | | | | | | | | | | | | | | | | This will be particularly useful to Windows users. run_tests.py originally written by Brett Cannon.