summaryrefslogtreecommitdiffstats
path: root/Lib/test/regrtest.py
Commit message (Collapse)AuthorAgeFilesLines
* Remove spurious cruft from the output.Fred Drake2002-10-171-1/+1
|
* Logic for determining whether skipping test_pep277 is expected: whetherTim Peters2002-10-091-1/+8
| | | | | | ths "should be" skipped depends on os.path.supports_unicode_filenames, not really on the platform. Fiddled the expected-skip constructor appropriately.
* Add test_pep277 to the expected skips on Linux. (This test seems toGuido van Rossum2002-10-061-0/+1
| | | | | be skipped everywhere except on Windows NT and descendants, but I'm only going to add it to the skip list for the platform I can test.)
* Patch #615069: Fix build problems on SCO Open Server 5. Backported to 2.2.Martin v. Löwis2002-09-301-1/+58
|
* Suppress hex/oct constant warnings in <string> on 64-bit platforms,Guido van Rossum2002-09-191-0/+5
| | | | because there test_grammar.py pulls them out of strings there.
* Add a bunch of sys.stdout.flush() calls that will hopefully improveGuido van Rossum2002-09-131-0/+7
| | | | the usability of the output of the Xenofarm builds.
* Got rid of the toy _Set class, in favor of sets.Set.Tim Peters2002-08-231-33/+6
|
* The filterwarnings() call here should be updated to filter outGuido van Rossum2002-08-141-1/+1
| | | | FutureWarning.
* Suppress warnings about test_grammar.py that can't be suppressed insideGuido van Rossum2002-08-121-0/+6
| | | | that file itself (because it's the parser that reports them).
* Complete the absolute import patch for the test suite. All relativeBarry Warsaw2002-07-301-3/+23
| | | | | | | | imports of test modules now import from the test package. Other related oddities are also fixed (like DeprecationWarning filters that weren't specifying the full import part, etc.). Also did a general code cleanup to remove all "from test.test_support import *"'s. Other from...import *'s weren't changed.
* Get rid of relative imports in all unittests. Now anything thatBarry Warsaw2002-07-231-2/+1
| | | | | | | | | | | imports e.g. test_support must do so using an absolute package name such as "import test.test_support" or "from test import test_support". This also updates the README in Lib/test, and gets rid of the duplicate data dirctory in Lib/test/data (replaced by Lib/email/test/data). Now Tim and Jack can have at it. :)
* Add missing comma.Jeremy Hylton2002-07-171-1/+1
|
* Add a rather generous set of tests allowed to be skipped on sunos5.Guido van Rossum2002-07-171-0/+23
|
* Whitespace normalization.Tim Peters2002-07-161-27/+27
|
* printlist(): Replaced the guts with a call to textwrap. Yay!Tim Peters2002-07-041-30/+19
|
* Patch #488073: AtheOS port.Martin v. Löwis2002-06-111-0/+28
|
* Added -t (--threshold) option to call gc.set_threshold(N).Guido van Rossum2002-06-071-25/+30
|
* regrtest has a newTim Peters2002-06-021-7/+34
| | | | | | | | | | | | | | -f/--fromfile <filename> option. This runs all and only the tests named in the file, in the order given (although -x may weed that list, and -r may shuffle it). Lines starting with '#' are ignored. This goes a long way toward helping to automate the binary-search-like procedure I keep reinventing by hand when a test fails due to interaction among tests (no failure in isolation, and some unknown number of predecessor tests need to run first -- now you can stick all the test names in a file, and comment/uncomment blocks of lines until finding a minimal set of predecessors).
* Fred's recent changes to support "-u all" resulted in subset resourceAndrew MacIntyre2002-04-301-1/+1
| | | | selections (eg "-u network") being ignored.
* test_resource has no chance of running on Windows.Tim Peters2002-04-231-0/+1
|
* Enable universal newlines on Windows. Note that NEWS needs more words!Tim Peters2002-04-211-1/+0
|
* Expect test_email_codecs to be skipped -- few users or developers willGuido van Rossum2002-04-161-0/+1
| | | | have the needed optional Japanese codecs installed.
* OK, don't call resetwarnings().Tim Peters2002-04-161-2/+0
|
* It makes more sense to call resetwarnings() after every test runs thanTim Peters2002-04-161-0/+2
| | | | to keep doing that in every test that wants to filter a warning.
* I expect test_univnewlines to be skipped on Windows. I expect thisTim Peters2002-04-151-0/+1
| | | | | because it *is* skipped. I'm not entirely sure it should be skipped, but figuring that out would take actual thought <wink>.
* Clean up the "all" support for -u.Fred Drake2002-04-111-1/+2
|
* I don't expect test_email_codecs to run on Windows.Tim Peters2002-04-111-0/+1
|
* Added the resource name "all" to enable all of the optional resource uses.Fred Drake2002-04-111-2/+11
| | | | This is nice for use with "make TESTOPTS='-u all' test".
* We expect to skip the new test_mpz on Windows.Tim Peters2002-04-011-1/+5
|
* first cut at skip-list for hp-ux 11 based upon input from Bill Lawler at HP.Skip Montanaro2002-03-151-0/+30
|
* Fix typoNeal Norwitz2002-02-081-1/+1
|
* Added test_socketserver and test_unicode_file to tests expected to beJack Jansen2001-12-141-0/+2
| | | | | skipped on Mac OS X. Not sure yet about test_locale.py: this may be due to my copy of Mac OS X (although it talks english fine enough).
* sys.platform on Mac OS X is now "darwin", without any version number appended.Jack Jansen2001-12-051-1/+1
| | | | This should probably go into NEWS (who's responsible for that?).
* Added tests expected to be skipped on Mac OS X.Jack Jansen2001-12-021-0/+21
|
* Merged changes made on r22b2-branch between r22b2 and r22b2-mac (theJack Jansen2001-11-301-0/+1
| | | | changes from start of branch upto r22b2 were already merged, of course).
* Whitespace normalization.Tim Peters2001-10-301-1/+1
|
* SF patch #474590 -- RISC OS supportGuido van Rossum2001-10-241-2/+44
|
* test_curses is an expected skip on Linux too.Guido van Rossum2001-10-231-0/+1
|
* Record that test_curses doesn't run on win32.Tim Peters2001-10-221-0/+1
|
* Patch #473187: Add a test script that exercises most of the functions inAndrew M. Kuchling2001-10-221-1/+4
| | | | | the curses module. It's not run automatically; '-u curses' must be specified as an argument to regrtest
* Whitespace normalization.Tim Peters2001-10-181-1/+1
|
* Make sure the output lists are sorted, even if run with -r.Jeremy Hylton2001-10-171-0/+6
|
* Remove an infelicitous space.Fred Drake2001-09-281-1/+1
|
* regrtest's -g option stopped working, during the changes to improveTim Peters2001-09-281-1/+1
| | | | | error-reporting for the classic compare-expected-output tests. Curiously, the bug consisted of not simplifying the logic enough!
* Guido points out that sys.__stdout__ is a bit bucket under IDLE. So keepTim Peters2001-09-251-0/+1
| | | | | | | the local save/modify/restore of sys.stdout, but add machinery so that regrtest can tell test_support the value of sys.stdout at the time regrtest.main() started, and test_support can pass that out later to anyone who needs a "visible" stdout.
* Get rid of the increasingly convoluted global tricks w/ sys.stdout, inTim Peters2001-09-251-2/+2
| | | | favor of local save/modify/restore. The test suite should run fine again.
* Since the most likely failure mode for an expected-output test is a changeTim Peters2001-09-221-15/+22
| | | | | | | somewhere inside a line, use ndiff so that intraline difference marking can point out what changed within a line. I don't remember diff-style abbreviations either (haven't used it since '94, except to produce patches), so say the rest in English too.
* reportdiff(): print a "plain diff" style diff.Guido van Rossum2001-09-211-4/+30
| | | | XXX This should really be a unified diff, but I can't be bothered.
* Oops. I didn't expect that some tests (test_cookie) have expectedGuido van Rossum2001-09-211-9/+2
| | | | | output *and* doctest stuff. Assuming the doctest stuff comes after the expected output, this fixes that.
* Change the way unexpected output is reported: rather than stopping atGuido van Rossum2001-09-211-78/+40
| | | | | | | | | | the first difference, let the test run till completion, then gather all the output and compare it to the expected output using difflib. XXX Still to do: produce diff output that only shows the sections that differ; currently it produces ndiff-style output because that's the easiest to produce with difflib, but this becomes a liability when the output is voluminous and there are only a few differences.