summaryrefslogtreecommitdiffstats
path: root/Lib/test/regrtest.py
Commit message (Collapse)AuthorAgeFilesLines
...
* | | regrtest: dump all threads on a crash, not only the current threadVictor Stinner2011-05-041-1/+1
| | |
* | | regrtest: add the name of the failing test on a child error (-j option)Victor Stinner2011-05-011-1/+1
| | |
* | | Implement #11832. Add an option to start regrtest and wait for inputBrian Curtin2011-04-281-1/+4
| | | | | | | | | | | | | | | | | | | | | before continuing. This is useful for starting up the test suite to attach a debugger such as Visual Studio or others.
* | | Merge from 3.2Antoine Pitrou2011-04-161-1/+5
|\ \ \ | |/ /
| * | Fix possible "file already exists" error when running the tests in parallel.Antoine Pitrou2011-04-161-1/+5
| | | | | | | | | | | | | | | | | | This is a perfect example of LBYL going wrong: that code could be executed by several workers in parallel, and os.mkdir() attempted on the same path by multiple processes.
* | | Fix #11825: disable regrtest timeout if Python doesn't support threadsVictor Stinner2011-04-121-1/+9
| | |
* | | Merge with 3.2Ross Lagerwall2011-04-091-1/+1
|\ \ \ | |/ /
| * | Merge with 3.1Ross Lagerwall2011-04-091-1/+1
| |\ \ | | |/
| | * Issue #11719: Fix message about unexpected test_msilib skip.Ross Lagerwall2011-04-091-1/+1
| | | | | | | | | | | | Patch by Nadeem Vawda.
| | * Merged revisions 87704-87705 via svnmerge fromAntoine Pitrou2011-01-031-27/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r87704 | antoine.pitrou | 2011-01-03 21:38:52 +0100 (lun., 03 janv. 2011) | 5 lines Issue #6293: Have regrtest.py echo back sys.flags. This is done by default in whole runs and enabled selectively using `--header` when running an explicit list of tests. Original patch by Collin Winter. ........ r87705 | antoine.pitrou | 2011-01-03 21:40:07 +0100 (lun., 03 janv. 2011) | 3 lines Mention --randseed in option list ........
| | * Merged revisions 85086 via svnmerge fromR. David Murray2010-12-041-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85086 | r.david.murray | 2010-09-28 21:08:05 -0400 (Tue, 28 Sep 2010) | 4 lines #7110: have regrtest print test failures and tracebacks to stderr not stdout. Patch by Sandro Tosi. ........
| | * Merged revisions 85935-85936 via svnmerge fromAntoine Pitrou2010-10-311-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85935 | antoine.pitrou | 2010-10-29 21:34:45 +0200 (ven., 29 oct. 2010) | 4 lines Make a GC run before trying to clean up files left over by the latest test run. ........ r85936 | antoine.pitrou | 2010-10-29 21:36:37 +0200 (ven., 29 oct. 2010) | 3 lines Fix typo ........
| | * Merged revisions 85482 via svnmerge fromAntoine Pitrou2010-10-141-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85482 | antoine.pitrou | 2010-10-14 17:34:31 +0200 (jeu., 14 oct. 2010) | 4 lines Replace the "compiler" resource with the more generic "cpu", so as to mark CPU-heavy tests. ........
| | * Merged revisions 81359-81361 via svnmerge fromVictor Stinner2010-05-191-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r81359 | victor.stinner | 2010-05-19 19:00:07 +0200 (mer., 19 mai 2010) | 4 lines Issue #8663: distutils.log emulates backslashreplace error handler. Fix compilation in a non-ASCII directory if stdout encoding is ASCII (eg. if stdout is not a TTY). ........ r81360 | victor.stinner | 2010-05-19 19:11:19 +0200 (mer., 19 mai 2010) | 5 lines regrtest.py: call replace_stdout() before the first call to print() print("== ", os.getcwd()) fails if the current working directory is not ASCII whereas sys.stdout encoding is ASCII. ........ r81361 | victor.stinner | 2010-05-19 19:15:50 +0200 (mer., 19 mai 2010) | 2 lines Oops, add the new test_log.py for distutils test suite (missing part of r81359) ........
| | * Merged revisions 80905 via svnmerge fromVictor Stinner2010-05-071-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r80905 | victor.stinner | 2010-05-07 02:57:12 +0200 (ven., 07 mai 2010) | 4 lines regrtest.py: disable replace_stdout() on Windows until it is fixed See issue #8533 (problem with newlines on Windows). ........
| | * Merged revisions 80694,80703 via svnmerge fromVictor Stinner2010-05-031-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r80694 | victor.stinner | 2010-05-02 11:37:08 +0200 (dim., 02 mai 2010) | 3 lines Issue #8533: Write tracebacks and failed tests to sys.stderr instead of sys.stdout to avoid UnicodeEncodeError (use backslashreplace error handler) ........ r80703 | victor.stinner | 2010-05-02 19:24:51 +0200 (dim., 02 mai 2010) | 4 lines Issue #8533: revert r80694; try a different fix: regrtest uses backslashreplace error handler for stdout to avoid UnicodeEncodeError (write non-ASCII character to stdout using ASCII encoding) ........
| | * Note: only the relevant parts of r79474 are merged.Florent Xicluna2010-03-281-6/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merged revisions 78793,78798-78799,78977,79095,79196,79474 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r78793 | florent.xicluna | 2010-03-08 13:25:35 +0100 (lun, 08 mar 2010) | 2 lines Fix macpath to deal with bytes ................ r78798 | florent.xicluna | 2010-03-08 14:32:17 +0100 (lun, 08 mar 2010) | 18 lines Merged revisions 78777,78787,78790 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r78777 | florent.xicluna | 2010-03-08 00:49:03 +0100 (lun, 08 mar 2010) | 4 lines Backport the Popen.poll() protection from subprocess to multiprocessing. See #1731717. It should fix transient failures on test_multiprocessing. ........ r78787 | florent.xicluna | 2010-03-08 08:21:16 +0100 (lun, 08 mar 2010) | 2 lines Don't fail on a debug() statement, if the worker PID is (still) None. ........ r78790 | florent.xicluna | 2010-03-08 12:01:39 +0100 (lun, 08 mar 2010) | 2 lines On finalize, don't try to join not started process. ........ ................ r78799 | florent.xicluna | 2010-03-08 15:44:41 +0100 (lun, 08 mar 2010) | 2 lines Fix ntpath abspath to deal with bytes. ................ r78977 | florent.xicluna | 2010-03-15 14:14:39 +0100 (lun, 15 mar 2010) | 2 lines Fix \xhh specs, #1889. (an oversight of r60193, r60210). ................ r79095 | florent.xicluna | 2010-03-19 15:40:31 +0100 (ven, 19 mar 2010) | 2 lines Rename test.test_support to test.support for 3.x. ................ r79196 | florent.xicluna | 2010-03-21 13:29:50 +0100 (dim, 21 mar 2010) | 9 lines Merged revisions 79195 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r79195 | florent.xicluna | 2010-03-21 13:27:20 +0100 (dim, 21 mar 2010) | 2 lines Issue #8179: Fix macpath.realpath() on a non-existing path. ........ ................ r79474 | florent.xicluna | 2010-03-28 01:25:02 +0100 (dim, 28 mar 2010) | 33 lines Merged revisions 79297,79310,79382,79425-79427,79450 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r79297 | florent.xicluna | 2010-03-22 18:18:18 +0100 (lun, 22 mar 2010) | 2 lines #7668: Fix test_httpservers failure when sys.executable contains non-ASCII bytes. ........ r79310 | florent.xicluna | 2010-03-22 23:52:11 +0100 (lun, 22 mar 2010) | 2 lines Issue #8205: Remove the "Modules" directory from sys.path when Python is running from the build directory (POSIX only). ........ r79382 | florent.xicluna | 2010-03-24 20:33:25 +0100 (mer, 24 mar 2010) | 2 lines Skip tests which depend on multiprocessing.sharedctypes, if _ctypes is not available. ........ r79425 | florent.xicluna | 2010-03-25 21:32:07 +0100 (jeu, 25 mar 2010) | 2 lines Syntax cleanup `== None` -> `is None` ........ r79426 | florent.xicluna | 2010-03-25 21:33:49 +0100 (jeu, 25 mar 2010) | 2 lines #8207: Fix test_pep277 on OS X ........ r79427 | florent.xicluna | 2010-03-25 21:39:10 +0100 (jeu, 25 mar 2010) | 2 lines Fix test_unittest and test_warnings when running "python -Werror -m test.regrtest" ........ r79450 | florent.xicluna | 2010-03-26 20:32:44 +0100 (ven, 26 mar 2010) | 2 lines Ensure that the failed or unexpected tests are sorted before printing. ........ ................
| | * Merged revisions 77167 via svnmerge fromBenjamin Peterson2009-12-311-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r77167 | benjamin.peterson | 2009-12-30 21:11:23 -0600 (Wed, 30 Dec 2009) | 61 lines Merged revisions 76847,76851,76869,76882,76891-76892,76924,77007,77070,77092,77096,77120,77126,77155 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r76847 | benjamin.peterson | 2009-12-14 21:25:27 -0600 (Mon, 14 Dec 2009) | 1 line adverb ........ r76851 | benjamin.peterson | 2009-12-15 21:28:52 -0600 (Tue, 15 Dec 2009) | 1 line remove lib2to3 resource ........ r76869 | vinay.sajip | 2009-12-17 08:52:00 -0600 (Thu, 17 Dec 2009) | 1 line Issue #7529: logging: Minor correction to documentation. ........ r76882 | georg.brandl | 2009-12-19 11:30:28 -0600 (Sat, 19 Dec 2009) | 1 line #7527: use standard versionadded tags. ........ r76891 | georg.brandl | 2009-12-19 12:16:31 -0600 (Sat, 19 Dec 2009) | 1 line #7479: add note about function availability on Unices. ........ r76892 | georg.brandl | 2009-12-19 12:20:18 -0600 (Sat, 19 Dec 2009) | 1 line #7480: remove tautology. ........ r76924 | georg.brandl | 2009-12-20 08:28:05 -0600 (Sun, 20 Dec 2009) | 1 line Small indentation fix. ........ r77007 | gregory.p.smith | 2009-12-23 03:31:11 -0600 (Wed, 23 Dec 2009) | 3 lines Fix possible integer overflow in lchown and fchown functions. For issue1747858. ........ r77070 | amaury.forgeotdarc | 2009-12-27 14:06:44 -0600 (Sun, 27 Dec 2009) | 2 lines Fix a typo in comment ........ r77092 | georg.brandl | 2009-12-28 02:48:24 -0600 (Mon, 28 Dec 2009) | 1 line #7404: remove reference to non-existing example files. ........ r77096 | benjamin.peterson | 2009-12-28 14:51:17 -0600 (Mon, 28 Dec 2009) | 1 line document new fix_callable behavior ........ r77120 | georg.brandl | 2009-12-29 15:09:17 -0600 (Tue, 29 Dec 2009) | 1 line #7595: fix typo in argument default constant. ........ r77126 | amaury.forgeotdarc | 2009-12-29 17:06:17 -0600 (Tue, 29 Dec 2009) | 2 lines #7579: Add docstrings to the msvcrt module ........ r77155 | georg.brandl | 2009-12-30 13:03:00 -0600 (Wed, 30 Dec 2009) | 1 line We only support Windows NT derivatives now. ........ ................
| | * Merged revisions 76279 via svnmerge fromR. David Murray2009-11-151-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r76279 | r.david.murray | 2009-11-14 19:23:21 -0500 (Sat, 14 Nov 2009) | 10 lines Merged revisions 76276 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r76276 | r.david.murray | 2009-11-14 19:04:32 -0500 (Sat, 14 Nov 2009) | 3 lines Issue 7324: add a sanity check to regrtest argument parsing to catch the case of an option with no handler. ........ ................
| | * Merged revisions 75525,75530,75922 via svnmerge fromR. David Murray2009-10-281-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r75525 | r.david.murray | 2009-10-19 12:33:43 -0400 (Mon, 19 Oct 2009) | 12 lines Merged revisions 75524 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r75524 | r.david.murray | 2009-10-19 12:28:24 -0400 (Mon, 19 Oct 2009) | 6 lines Eliminate warning message that looks like an error message. When it was added not finding Lib/test in the path indicated something was wrong, but when running regtest using "python -m" Lib/test isn't typically in the path, so this message is now more disturbing than it is helpful. ........ ................ r75530 | r.david.murray | 2009-10-19 14:06:17 -0400 (Mon, 19 Oct 2009) | 10 lines Merged revisions 75528 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r75528 | r.david.murray | 2009-10-19 13:53:58 -0400 (Mon, 19 Oct 2009) | 4 lines Clarify error report message, and don't recommend running in verbose mode for more information if we are already running in verbose mode. ........ ................ r75922 | r.david.murray | 2009-10-28 10:07:51 -0400 (Wed, 28 Oct 2009) | 9 lines Merged revisions 75920 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r75920 | r.david.murray | 2009-10-28 10:03:43 -0400 (Wed, 28 Oct 2009) | 2 lines Remove variable that is no longer used. ........ ................
| | * Merged revisions 75279 via svnmerge fromR. David Murray2009-10-071-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r75279 | r.david.murray | 2009-10-07 19:38:55 -0400 (Wed, 07 Oct 2009) | 10 lines Merged revisions 75255 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r75255 | r.david.murray | 2009-10-05 13:03:09 -0400 (Mon, 05 Oct 2009) | 3 lines Issue #7058: Added save/restore for argv and os.environ to runtest_inner in regrtest, with warnings if the called test modifies them. ........ ................
* | | Fix faulthandler timeout to avoid breaking buildbotsAntoine Pitrou2011-04-071-1/+1
| | |
* | | Reenable regrtest.py timeout (30 min): #11738 and #11753 looks to be fixedVictor Stinner2011-04-041-1/+1
| | |
* | | Issue #11727, issue #11753, issue #11755: disable regrtest timeoutVictor Stinner2011-04-031-1/+1
| | | | | | | | | | | | Disable regrtest timeout until #11753 and #11755 are fixed
* | | Issue #11727: set regrtest default timeout to 30 minutesVictor Stinner2011-04-011-2/+2
| | |
* | | Issue #11727: set regrtest default timeout to 15 minutesVictor Stinner2011-04-011-2/+3
| | |
* | | Issue #11727: Antoine and Arfrever don't like "0 < timeout" style (regrtest.py)Victor Stinner2011-03-311-2/+3
| | |
* | | Issue #11727: add --timeout option to regrtest (disabled by default).Victor Stinner2011-03-311-9/+20
| | |
* | | regrtest.py checks that child process exit code is zeroVictor Stinner2011-03-311-0/+8
| | |
* | | Issue #11393: reenable all tests in regrtest.py (wooops, sorry Antoine)Victor Stinner2011-03-301-1/+0
| | |
* | | Issue #11393: Add the new faulthandler moduleVictor Stinner2011-03-301-0/+5
| | |
* | | #11093: make NOTTESTS empty by renaming confusingly named files in test dir.R David Murray2011-03-241-4/+1
| | | | | | | | | | | | Patch by Sandro Tosi.
* | | #11031: Add --testdir to specify where to find testsR David Murray2011-03-241-2/+18
| | | | | | | | | | | | | | | | | | Patch by Sandro Tosi. The main purpose of this option is to allow an alternate set of tests files to be used when running tests of the regrtest tool itself.
* | | #11030: make --coverdir work for relative directories again.R David Murray2011-03-241-1/+3
| | |
* | | Issue #11653: fix -W with -j in regrtest.Antoine Pitrou2011-03-231-7/+14
|\ \ \ | |/ /
| * | Issue #11653: fix -W with -j in regrtestAntoine Pitrou2011-03-231-7/+14
| | |
* | | Allow "-j0" as an argument to regrtest, to automatically select anAntoine Pitrou2011-03-231-0/+7
| | | | | | | | | | | | appropriate number of parallel workers.
* | | Make regrtest recognize test packages as well as test modules.R David Murray2011-03-211-3/+3
| | |
* | | Always print out the traceback when a test "crashed"Antoine Pitrou2011-03-211-5/+2
|\ \ \ | |/ /
| * | Always print out the traceback when a test "crashed"Antoine Pitrou2011-03-211-5/+2
| | |
* | | Merge with 3.2.Ezio Melotti2011-03-201-1/+8
|\ \ \ | |/ /
| * | Add a check for sys.warnoptions in regrtest.Ezio Melotti2011-03-201-1/+8
| | |
* | | Issue #11085: Moved collections abstract base classes into a separate moduleRaymond Hettinger2011-02-221-4/+5
| | | | | | | | | | | | | | | | | | called collections.abc, following the pattern used by importlib.abc. For backwards compatibility, the names continue to also be imported into the collections module.
* | | Issue #10990: Prevent tests from clobbering a set trace function.Brett Cannon2011-02-211-1/+6
|/ / | | | | | | | | | | | | | | | | | | | | Many tests simply didn't care if they unset a pre-existing trace function. This made test coverage impossible. This patch fixes various tests to put back any pre-existing trace function. It also introduces test.support.no_tracing as a decorator which will temporarily unset the trace function for tests which simply fail otherwise. Thanks to Kristian Vlaardingerbroek for helping to find the cause of various trace function unsets.
* | Get --coverage to be an acceptable flag for test.regrtest again.Brett Cannon2011-01-061-2/+2
| |
* | On Py3k, -tt and -3 are no-op and unsupported respectively.Georg Brandl2011-01-051-2/+2
| |
* | regrtest: close the new stdout and restore the original stdout at exitVictor Stinner2011-01-051-1/+10
| | | | | | | | Fix a ResourceWarning(unclosed file).
* | Mention --randseed in option listAntoine Pitrou2011-01-031-0/+1
| |
* | Issue #6293: Have regrtest.py echo back sys.flags. This is done by defaultAntoine Pitrou2011-01-031-3/+8
| | | | | | | | | | in whole runs and enabled selectively using `--header` when running an explicit list of tests. Original patch by Collin Winter.
* | #7056: runtest and runtest_inner don't use testdir, so drop it from their sigsR. David Murray2010-12-271-14/+8
| | | | | | | | | | I've only tested regular runs and -j runs. If I've broken anything else I'm sure I'll hear about it sooner or later.