summaryrefslogtreecommitdiffstats
path: root/Lib/test/regrtest.py
Commit message (Collapse)AuthorAgeFilesLines
* Issue #13380: add an internal function for resetting the ctypes cachesMeador Inge2011-11-261-0/+7
|
* Issue #11719: Fix message about unexpected test_msilib skip.Ross Lagerwall2011-04-091-1/+1
| | | | Patch by Nadeem Vawda.
* Merged revisions ↵R. David Murray2011-02-111-14/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 86542,87136,87216,87221,87228,87256,87337-87338,87372,87516,87571,88164 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86542 | r.david.murray | 2010-11-19 22:48:58 -0500 (Fri, 19 Nov 2010) | 2 lines Make test class name unique so that both test classes run. ........ r87136 | r.david.murray | 2010-12-08 17:53:00 -0500 (Wed, 08 Dec 2010) | 6 lines Have script_helper._assert_python strip refcount strings from stderr. This makes the output of the function and those that depend on it independent of whether or not they are being run under a debug build. ........ r87216 | r.david.murray | 2010-12-13 17:50:30 -0500 (Mon, 13 Dec 2010) | 2 lines #10698: fix typo in example. ........ r87221 | r.david.murray | 2010-12-13 19:55:46 -0500 (Mon, 13 Dec 2010) | 4 lines #10699: fix docstring for tzset: it does not take a parameter Thanks to Garrett Cooper for the fix. ........ r87228 | r.david.murray | 2010-12-13 21:25:43 -0500 (Mon, 13 Dec 2010) | 2 lines Turn on regrtest -W (rerun immediately) option for Windows, too. ........ r87256 | r.david.murray | 2010-12-14 21:19:14 -0500 (Tue, 14 Dec 2010) | 2 lines #10705: document what the values of debuglevel are and mean. ........ r87337 | r.david.murray | 2010-12-17 11:11:40 -0500 (Fri, 17 Dec 2010) | 2 lines #10559: provide instructions for accessing sys.argv when first mentioned. ........ r87338 | r.david.murray | 2010-12-17 11:29:07 -0500 (Fri, 17 Dec 2010) | 2 lines #10454: clarify the compileall docs and help messages. [changes to compileall.py were not backported, only the doc changes] ........ r87372 | r.david.murray | 2010-12-18 11:39:06 -0500 (Sat, 18 Dec 2010) | 2 lines #10728: the default for printing help is sys.stdout, not stderr. ........ r87516 | r.david.murray | 2010-12-27 15:09:32 -0500 (Mon, 27 Dec 2010) | 5 lines #7056: runtest and runtest_inner don't use testdir, so drop it from their sigs 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. ........ r87571 | r.david.murray | 2010-12-29 14:06:48 -0500 (Wed, 29 Dec 2010) | 2 lines Fix same typo in docs. ........ r88164 | r.david.murray | 2011-01-24 14:34:58 -0500 (Mon, 24 Jan 2011) | 12 lines #10960: fix 'stat' links, link to lstat from stat, general tidy of stat doc. Original patch by Michal Nowikowski, with some additions and wording fixes by me. I changed the wording from 'Performs a stat system call' to 'Performs the equivalent of a stat system call', since on Windows there are no stat/lstat system calls involved. I also extended Michal's breakout of the attributes into a list to the other paragraphs, and rearranged the order of the paragraphs in the 'stat' docs to make it flow better and put it in what I think is a more logical/useful order. ........
* Merged revisions 87704-87705 via svnmerge fromAntoine Pitrou2011-01-031-3/+9
| | | | | | | | | | | | | | | | 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 85926 via svnmerge fromAntoine Pitrou2010-10-311-3/+6
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85926 | antoine.pitrou | 2010-10-29 13:54:38 +0200 (ven., 29 oct. 2010) | 3 lines Actually restore the original asyncore socket map by making a copy of the dict ........
* 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 ........
* test_gdb should be skipped on darwin (not up to v7 yet)Skip Montanaro2010-10-251-0/+1
|
* Merged revisions 85482 via svnmerge fromAntoine Pitrou2010-10-141-6/+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 85469 via svnmerge fromAntoine Pitrou2010-10-141-5/+3
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85469 | antoine.pitrou | 2010-10-14 13:12:00 +0200 (jeu., 14 oct. 2010) | 3 lines Inherit interpreter flags in parallel testing ........
* Merged revisions 83524,84776 via svnmerge fromFlorent Xicluna2010-09-131-1/+7
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83524 | georg.brandl | 2010-08-02 14:20:23 +0200 (lun., 02 août 2010) | 1 line #9428: fix running scripts from profile/cProfile with their own name and the right namespace. Same fix as for trace.py in #1690103. ........ r84776 | florent.xicluna | 2010-09-13 18:35:02 +0200 (lun., 13 sept. 2010) | 1 line Make test.regrtest.__file__ absolute, this was not always the case when running profile or trace, for example. (issue #9323) ........
* Merged revisions 84176 via svnmerge fromAntoine Pitrou2010-08-181-1/+2
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r84176 | antoine.pitrou | 2010-08-18 22:44:14 +0200 (mer., 18 août 2010) | 5 lines Issue #9433: The "-j" option to regrtest now works under Windows too. It is not sure it will be beneficial, though, since process launching is more expensive under Windows than it is under Linux. ........
* Merged revisions 84086 via svnmerge fromAntoine Pitrou2010-08-161-1/+10
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r84086 | antoine.pitrou | 2010-08-16 02:28:05 +0200 (lun., 16 août 2010) | 3 lines Save and restore the global asyncore.socket_map, and warn if a test modified it ........
* Revert the additional OS X information (r81140). Keep the endianness ↵Florent Xicluna2010-05-131-5/+1
| | | | information.
* Add sensible information about the OS X platform to diagnose issue #8423:Florent Xicluna2010-05-131-1/+6
| | | | test_pep277 fails on "x86 Tiger" buildbot but not on "PPC Tiger".
* In a number of places code still reversRonald Oussoren2010-05-051-36/+1
| | | | | | | | | to "sys.platform == 'mac'" and that is dead code because it refers to a platform that is no longer supported (and hasn't been supported for several releases). Fixes issue #7908 for the trunk.
* Issue #7449, part 2: regrtest.py -j option requires thread supportVictor Stinner2010-04-271-1/+5
|
* Issue 8325: Improve regrtest --help text.R. David Murray2010-04-261-26/+33
|
* Fix the "regrtest -s" switch.Florent Xicluna2010-04-231-8/+9
|
* Remove ImportWarnings filters. They become obsolete after r79310, issue #8205.Florent Xicluna2010-04-231-8/+0
|
* Switch regrtest to use StringIO instead of cStringIO for ↵Michael Foord2010-04-081-2/+2
| | | | test_multiprocessing on Windows. Issue 8333.
* #8263: Now regrtest.py will report a failure if it receives a ↵Florent Xicluna2010-03-301-12/+18
| | | | KeyboardInterrupt (SIGINT).
* Ensure that the failed or unexpected tests are sorted before printing.Florent Xicluna2010-03-261-7/+2
|
* Skip test_ascii_formatd if _ctypes is not available (BSD, ...).Florent Xicluna2010-03-241-0/+2
| | | | Previous change was incomplete (r79334).
* Fix a trivial class of (hypothetical, future) false-positive refleaks, ↵Collin Winter2010-03-171-2/+3
| | | | discovered by an optimization in Unladen Swallow's past (which will become CPython's future).
* Do not print the header lines when running a single test.Florent Xicluna2010-03-061-7/+9
|
* Backport "test.regrtest -R 2:3" syntax from py3k branch, and other minor ↵Florent Xicluna2010-03-061-22/+21
| | | | adjustments.
* Print platform information to stdout, to help troubleshooting ↵Florent Xicluna2010-03-061-2/+12
| | | | platform-specific failures.
* Keep the test files in the ./build/ subdirectory, if Python is not installed.Florent Xicluna2010-03-061-44/+33
| | | | Remove two hacks which are no longer needed after #7712, because all __file__ attributes are absolute.
* #7712: add a temp_cwd context manager to test_support and use it in regrtest ↵Ezio Melotti2010-02-101-4/+44
| | | | to run all the tests in a temporary directory, saving the original CWD in test_support.SAVEDCWD. Thanks to Florent Xicluna who helped with the patch.
* Remove unused imports in test modules.Georg Brandl2010-02-071-3/+2
|
* #7092: Silence more py3k warnings. Patch by Florent Xicluna.Ezio Melotti2010-02-031-1/+2
|
* Remove obsolete warning filters in regrtest.py (from issue #7092 -- patch byAntoine Pitrou2010-01-081-9/+0
| | | | Florent Xicluna).
* Reverting the Revision: 77368. I committed Flox's big patch for tests bySenthil Kumaran2010-01-081-7/+10
| | | | mistake. ( It may come in for sure tough)
* Fixing - Issue7026 - RuntimeError: dictionary changed size during iteration. ↵Senthil Kumaran2010-01-081-10/+7
| | | | Patch by flox
* Issue #7396: fix -s, which was broken by the -j enhancement.R. David Murray2009-12-161-11/+9
|
* remove lib2to3 resourceBenjamin Peterson2009-12-161-2/+0
|
* Account for another cache when hunting ref leaksNick Coghlan2009-11-161-3/+16
|
* Remove 'g' from regrtest getopt argument string, since there's noR. David Murray2009-11-151-1/+1
| | | | handler for it.
* Issue 7324: add a sanity check to regrtest argument parsing toR. David Murray2009-11-151-0/+4
| | | | catch the case of an option with no handler.
* Issue #7312 (new feature): Add a -F flag to run the selected tests inR. David Murray2009-11-141-27/+50
| | | | | a loop until a test fails. Can be combined with -j. Patch by Antoine Pitrou.
* Fix constant name.Georg Brandl2009-10-291-1/+1
|
* Use constants instead of magic integers for test result. Do not re-run with ↵Georg Brandl2009-10-291-30/+37
| | | | --verbose3 for environment changing tests.
* Remove variable that is no longer used.R. David Murray2009-10-281-1/+1
|
* Reformat the regrtest command-line option help and group the options into ↵Georg Brandl2009-10-271-20/+35
| | | | sections.
* Add a regrtest option to re-run in verbose mode immediately after a test ↵Georg Brandl2009-10-271-10/+17
| | | | fails, and use that option on the buildbots.
* Eliminate warning message that looks like an error message. When it wasR. David Murray2009-10-191-2/+0
| | | | | | 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.
* Issue #7151: regrtest would generate a JSON failure if there was outputR. David Murray2009-10-181-13/+16
| | | | | | | | | | | | to stderr during the test run and it happened to get emitted after the worker thread emitted the result JSON. Now we capture stdout and stderr separately, which avoids that problem. It also means that _all_ stderr output is after all stdout output when we print the test results, but that seems acceptable, since output ordering is not guaranteed anyway. The patch also moves the emit of the test name into the output block generated after the test completes. Otherwise test names and test output/errors were mixed in the terminal display, making it difficult to determine which test generated the output.
* Also check and restore identity of sys.path, sys.argv and os.environ rather ↵Nick Coghlan2009-10-171-6/+9
| | | | than just their values (this picked up a few more misbehaving tests)
* Formatting tweak so that before and after values are vertically alignedNick Coghlan2009-10-171-2/+2
|