Brett Cannon
dc48b74497
Remove the rgbimg module. It has been deprecated since Python 2.5.
2007-05-20 07:09:50 +00:00
Neal Norwitz
d9841039db
Don't ever report a failure when the sum of the reference count differences
...
are zero. This should help reduce the false positives.
The message about references leaking is maintained to provide as much
info as possible rather than simply suppressing the message at the source.
2007-05-11 05:55:15 +00:00
Collin Winter
f567ca3e1a
Patch #1678088 : convert test_operations to use unittest, fold the result into test_dict.
2007-03-12 15:57:19 +00:00
Collin Winter
5545314ba7
Backported r54226 from p3yk: Move test_unittest, test_doctest and test_doctest2 higher up in the testing order.
2007-03-08 19:58:14 +00:00
Neal Norwitz
421c1319ad
Whoops, how did that get in there. :-) Revert all the parts of 51227 that were not supposed to go it. Only Modules/_ctypes/cfields.c was supposed to be changed
2006-08-12 02:12:30 +00:00
Neal Norwitz
6b4953fd3d
Check returned pointer is valid.
...
Klocwork #233
2006-08-12 02:06:34 +00:00
Armin Rigo
97ff04789d
Concatenation on a long string breaks (SF #1526585 ).
2006-08-09 15:37:26 +00:00
Georg Brandl
0870687f44
Patch #1509001 : expected skips for netbsd3.
2006-06-21 17:53:17 +00:00
Neal Norwitz
d3c52de557
warnings was imported at module scope, no need to import again
2006-06-11 07:26:50 +00:00
Tim Peters
e558486953
Implementing a happy idea from Georg Brandl: make runtest() try to
...
clean up files and directories the tests often leave behind by
mistake. This is the first time in history I don't have a bogus
"db_home" directory after running the tests ;-)
Also worked on runtest's docstring, to say something about all the
arguments, and to document the non-obvious return values.
New functions runtest_inner() and cleanup_test_droppings() in
support of the above.
2006-06-09 19:24:44 +00:00
Tim Peters
71dc0a043b
Remove the temporary hack to force test_optparse to
...
run immediately after test_file. At least 8 buildbot
boxes passed since the underlying problem got fixed,
and they all failed before the fix, so there's no point
to this anymore.
2006-06-09 05:12:40 +00:00
Tim Peters
2b6377912e
To boost morale :-), force test_optparse to run immediately
...
after test_file until we can figure out how to fix it.
(See python-dev; at the moment we don't even know which checkin
caused the problem.)
2006-06-09 03:09:42 +00:00
Tim Peters
c27d655c00
dash_R_cleanup(): Clear filecmp._cache. This accounts for
...
different results across -R runs (at least on Windows) of
test_filecmp.
2006-06-07 01:04:59 +00:00
Tim Peters
06c5c00819
"Flat is better than nested."
...
Move the long-winded, multiply-nested -R support out
of runtest() and into some module-level helper functions.
This makes runtest() and the -R code easier to follow.
That in turn allowed seeing some opportunities for code
simplification, and made it obvious that reglog.txt
never got closed.
2006-06-05 00:55:26 +00:00
Armin Rigo
a6123abb72
A clearer error message when passing -R to regrtest.py with
...
release builds of Python.
2006-05-28 22:07:08 +00:00
Tim Peters
1bddfb84ee
test_struct grew weird behavior under regrtest.py -R,
...
due to a module-level cache. Clearing the cache should
make it stop showing up in refleak reports.
2006-05-23 21:51:35 +00:00
Thomas Wouters
076ba2129b
Add more ignores of ImportWarnings; these are all just potential triggers
...
(since they won't trigger if zlib is already sucessfully imported); they
were found by grepping .py files, instead of looking at warning output :)
2006-04-27 23:41:27 +00:00
Thomas Wouters
9df4e6f673
- Add new Warning class, ImportWarning
...
- Warn-raise ImportWarning when importing would have picked up a directory
as package, if only it'd had an __init__.py. This swaps two tests (for
case-ness and __init__-ness), but case-test is not really more expensive,
and it's not in a speed-critical section.
- Test for the new warning by importing a common non-package directory on
sys.path: site-packages
- In regrtest.py, silence warnings generated by the build-environment
because Modules/ (which is added to sys.path for Setup-created modules)
has 'zlib' and '_ctypes' directories without __init__.py's.
2006-04-27 23:13:20 +00:00
Thomas Wouters
abd08884a6
The result of SF patch #1471578 : big-memory tests for strings, lists and
...
tuples. Lots to be added, still, but this will give big-memory people
something to play with in 2.5 alpha 2, and hopefully get more people to
write these tests.
2006-04-26 15:53:30 +00:00
Tim Peters
7db4f2460f
When using -R, lots of "*** DocTestRunner.merge:" nuisance messages
...
appear. Get rid of them by nuking doctest's default DocTestRunner
instance as part of cleanup(). Also cleanup() before running the
first test repetition (the test was run once before we get into
the -R branch).
2006-04-13 23:12:24 +00:00
Anthony Baxter
8220174489
Python on OS X 10.3 and above now uses dlopen() (via dynload_shlib.c)
...
to load extension modules and now provides the dl module. As a result,
sys.setdlopenflags() now works correctly on these systems. (SF patch
#1454844 )
2006-04-09 15:07:40 +00:00
Neal Norwitz
5102c4e385
Hopefully this makes test_urllib2 have inconsistent leak results
2006-04-06 08:00:20 +00:00
Anthony Baxter
22495c02e2
no-one but windows should expect startfile to work
2006-04-05 13:24:26 +00:00
Tim Peters
b2fc21e9f8
sqlite on Windows:
...
- The buildbot "fetch it" step failed at the end, due to
using Unix syntax in the final "copy the DLL" step.
test_sqlite was skipped as a result.
- test_sqlite is no longer an expected skip on Windows.
2006-04-04 15:21:02 +00:00
Anthony Baxter
c51ee69b27
merged the sqlite-integration branch.
...
This is based on pysqlite2.1.3, and provides a DB-API interface in
the standard library. You'll need sqlite 3.2.2 or later to build
this - if you have an earlier version, the C extension module will
not be built.
2006-04-01 00:57:31 +00:00
Martin v. Löwis
6da56f9428
Patch from Aldo Cortesi: expected skips for OpenBSD.
2006-03-26 10:02:34 +00:00
Tim Peters
b84de02f75
Record that test_wait[34] get skipped on native Windows.
2006-03-22 02:58:17 +00:00
Neal Norwitz
94a9c09e10
Rename sre.py -> re.py
2006-03-16 06:30:02 +00:00
Tim Peters
903d846a69
Renamed test_hashlib_speed.py to time_hashlib.py.
...
Since it's never intended that this script be run by
regrtest.py, it shouldn't have been named with a "test_"
prefix to begin with. A consequence is that we shouldn't
see useless:
test_hashlib_speed skipped -- not a unit test (stand alone benchmark)
lines in regrtest output anymore.
2006-03-14 22:48:56 +00:00
Tim Peters
922dd7d49d
When the new -w option (yay! great idea) reruns a
...
failed test, first display the name of the test (else
it's not always clear from the output which test is
getting run).
2006-03-10 23:37:10 +00:00
Martin v. Löwis
04824ce8ed
Add regrtest -w option.
2006-03-10 21:26:16 +00:00
Neal Norwitz
14ca327f99
Instead of printing the exception when you interrupt a test (Ctrl-C),
...
print the status so far and suppress printing the exception (but still exit).
2006-02-28 18:05:43 +00:00
Hye-Shik Chang
aaa2f1dea7
Patch #1276356 : Implement new resource "urlfetch" for regrtest.
...
This enables even impatient people to run tests that require remote
files such as test_normalization and test_codecmaps_*.
2005-12-10 17:44:27 +00:00
Neal Norwitz
545d4962f5
Cleanup a bit more references so test_urllibnet is stable (test_urllib2 is sometimes stable, at least in isolation)
2005-11-25 02:55:49 +00:00
Guido van Rossum
8ee3e5aa93
- Changes donated by Elemental Security to make it work on AIX 5.3
...
with IBM's 64-bit compiler (SF patch #1284289 ). This also closes SF
bug #105470 : test_pwd fails on 64bit system (Opteron).
2005-09-14 18:09:42 +00:00
Gregory P. Smith
f21a5f7739
[ sf.net patch # 1121611 ]
...
A new hashlib module to replace the md5 and sha modules. It adds
support for additional secure hashes such as SHA-256 and SHA-512. The
hashlib module uses OpenSSL for fast platform optimized
implementations of algorithms when available. The old md5 and sha
modules still exist as wrappers around hashlib to preserve backwards
compatibility.
2005-08-21 18:45:59 +00:00
Hye-Shik Chang
4e422817eb
Add support for FreeBSD 7.
2005-07-17 02:36:59 +00:00
Michael W. Hudson
1a7285250b
yet another cache to clear when leak hunting.
2005-06-14 09:31:28 +00:00
Raymond Hettinger
68c0453418
Add untokenize() function to allow full round-trip tokenization.
...
Should significantly enhance the utility of the module by supporting
the creation of tools that modify the token stream and writeback the
modified result.
2005-06-10 11:05:19 +00:00
Tim Peters
eba28bea9b
Whitespace normalization.
2005-03-28 01:08:02 +00:00
Peter Astrand
f7f1bb7ff5
Only run extensive subprocess tests if -usubprocess to regrtest is specified. Fixes #1124637
2005-03-03 20:47:37 +00:00
Martin v. Löwis
fba7369824
Patch #1050475 : Fix various x86_64 build issues
...
regrtest.py: skip rgbimg and imageop as they are not built on 64-bit systems.
_tkinter.c: replace %.8x with %p for printing pointers.
setup.py: add lib64 into the library directories.
2004-11-13 11:13:35 +00:00
Walter Dörwald
aee4da6b83
Add options to regrtest.py to make it possible to specify where to put
...
the coverage files when -T is used.
2004-11-12 18:51:27 +00:00
Andrew M. Kuchling
010b887cf6
Missed some occurrences of test_mpz
2004-08-31 13:45:22 +00:00
Andrew M. Kuchling
163f800095
Remove tests for mpz, rotor, xreadlines
2004-08-31 13:29:03 +00:00
Hye-Shik Chang
f64700a512
Add support for FreeBSD 6.
2004-08-18 15:13:41 +00:00
Michael W. Hudson
e667e66507
Report refleaks to stderr as the tests run as well as logging them
...
to a file.
2004-08-12 18:27:48 +00:00
Jeremy Hylton
4336eda886
Add a trivial test for the compiler package, guarded by compiler resource.
...
This test is insanely slow, so it requires a resource. On my machine,
it also appears to dump core. I think the problem is a stack
overflow, but haven't been able to confirm.
2004-08-07 19:25:33 +00:00
Tim Peters
cea2cc4a21
test_threadsignals is an expected skip on win32.
2004-08-04 02:32:03 +00:00
Michael W. Hudson
61147f63d9
Check in my refleak hunting code.
...
It's not the 100% solution -- it may not even be the 90% solution -- but
it does seem to help.
2004-08-03 11:33:28 +00:00
Martin v. Löwis
32d0c1b458
Patch #995782 : Add FreeBSD 5 expectations. Will backport to 2.3.
2004-07-26 12:09:13 +00:00
Hye-Shik Chang
5ef601854e
test_codecmaps_hk is also expected to be skipped when a mapping file
...
isn't available. (Spotted by Raymond Hettinger)
2004-07-19 06:39:37 +00:00
Raymond Hettinger
7c85fa4a52
Move Decimal from the sandbox into production.
2004-07-01 11:01:35 +00:00
Skip Montanaro
0179a18034
add -L flag to cause leaks(1) command to run just before exit
2004-06-06 15:53:18 +00:00
Barry Warsaw
3b6d025d9b
Patch #868499 , adds -T option for code coverage. The implementation is a
...
fairly simpleminded adaptation of Zope3's test.py -T flag.
I also changed some booleans to use True/False where appropriate.
2004-02-07 22:43:03 +00:00
Hye-Shik Chang
3e2a306920
Add CJK codecs support as discussed on python-dev. (SF #873597 )
...
Several style fixes are suggested by Martin v. Loewis and
Marc-Andre Lemburg. Thanks!
2004-01-17 14:29:29 +00:00
Guido van Rossum
944a6c32d7
test_applesingle is an expected skip almost anywhere.
2003-11-20 22:11:29 +00:00
Raymond Hettinger
901dc98316
test_applesingle is an expected skip on Win32
2003-11-20 19:02:02 +00:00
Raymond Hettinger
a690a9967e
* Migrate set() and frozenset() from the sandbox.
...
* Install the unittests, docs, newsitem, include file, and makefile update.
* Exercise the new functions whereever sets.py was being used.
Includes the docs for libfuncs.tex. Separate docs for the types are
forthcoming.
2003-11-16 16:17:49 +00:00
Brett Cannon
2bfb94c871
Add test__locale to expected skip list for Darwin.
2003-10-13 04:27:47 +00:00
Tim Peters
c7c516aa51
test__locale (two underscores) can't pass on Windows: RADIXCHAR doesn't
...
exist, and neither do any of the specific 5-letter locale names the test
is looking for.
2003-09-20 22:06:13 +00:00
Tim Peters
5943b4ac10
Restored commented-out line checked in by mistake.
2003-07-23 00:30:39 +00:00
Tim Peters
9390dd5b4a
locale-restoration code: Don't leave comparison to None implicit. For
...
all I know, the original locale may be '' (I don't think that's possible,
but ...), and if so we would certainly want to restore it.
2003-07-23 00:30:11 +00:00
Jason Tishler
c23f39ca9d
Patch #775784 : YA Cygwin expected regression test skip patch
...
This patch just adds test_ioctl to the list of expected skips for Cygwin.
2003-07-22 18:35:58 +00:00
Martin v. Löwis
56f88113b7
Patch #746801 : FreeBSD 4 expected failures, by Charles Swiger.
2003-06-07 20:01:37 +00:00
Raymond Hettinger
74e67661a6
User cStringIO instead of StringIO.
2003-05-17 20:44:12 +00:00
Martin v. Löwis
a94568a753
Patch #734231 : Update RiscOS support. In particular, correct
...
riscospath.extsep, and use os.extsep throughout.
2003-05-10 07:36:56 +00:00
Skip Montanaro
823ba28b0d
the new bsddb185 module is an expected skip on most platforms (this may not
...
be needed - just being anal)
2003-05-06 20:36:24 +00:00
Skip Montanaro
142da98beb
remove test_socketserver from the skip lists
2003-04-24 19:05:41 +00:00
Martin v. Löwis
7fb697b5d2
Revert Patch #670715 : iconv support.
2003-04-03 04:49:12 +00:00
Neal Norwitz
7035c98c5c
Move Mac/Windows specific expected skips from each platform list
...
to the ExpectedSkips class. Add test_scriptpackages to Mac only list.
Add test_unicode_file to Windows only list.
2003-03-29 22:01:17 +00:00
Guido van Rossum
315aa361fc
Add 'audio' resource.
...
ALERT! A month ago or so I made test_ossaudiodev.py require the
'audio' resource, but I didn't make the necessary changes to
regrtest.py. This means that *nobody* has been testing the oss module
all that time!
2003-03-11 14:46:48 +00:00
Jack Jansen
c4d6bdd58a
Test_ioctl and test_tarfile are skipped on MacOS9.
2003-03-07 15:38:11 +00:00
Tim Peters
fd8e6e5990
test_ioctl is an expected skip on Windows.
2003-03-04 00:26:38 +00:00
Neal Norwitz
55b61d21d8
Fix SF bugs #692951 and 692988, test_timeout.py needs 'network' resource
...
require -u network to run test_timeout since
it fails when not connected to a network.
2003-02-28 19:57:03 +00:00
Fred Drake
479d280218
The macfs, macostools, and plistlib should not be expected to run
...
beyond Mac OS and Darwin. I'm not even sure they should be run on
Darwin, but I'll let someone more knowledgable on that tell us.
2003-02-26 19:51:23 +00:00
Jack Jansen
c2dd2f0966
Expect to skip test_iconv_codecs on MacOSX.
2003-02-23 22:56:58 +00:00
Jack Jansen
5bb97e66dc
Checking mac-specific stuff from the 2.3a2 branch in on the trunk.
2003-02-21 22:33:55 +00:00
Tim Peters
f2715e0764
Whitespace normalization.
2003-02-19 02:35:07 +00:00
Tim Peters
003eb30882
test_posix is an expected skip on Win32. Also fixed test_posix to
...
import from test.test_support instead of directly from test_support.
2003-02-17 21:48:48 +00:00
Guido van Rossum
4507ec70cf
- The audio driver tests (test_ossaudiodev.py and
...
test_linuxaudiodev.py) are no longer run by default. This is
because they don't always work, depending on your hardware and
software. To run these tests, you must use an invocation like
./python Lib/test/regrtest.py -u audio test_ossaudiodev
2003-02-14 19:29:22 +00:00
Guido van Rossum
0c016a9590
Re-enable compiling ossaudiodev now that it seems to work again.
2003-02-13 16:12:21 +00:00
Guido van Rossum
3288f592cb
Expect test_ossaudiodev to skip on Linux, too. (It's broken.
...
Volunteers wanted to fix it!)
2003-02-12 20:40:08 +00:00
Jason Tishler
5c4ded2c3b
Patch #551977 : Regression exceptions for cygwin
...
Applied the skip test_ossaudiodev patch.
2003-02-05 16:46:01 +00:00
Fred Drake
9a0db07c2f
test_support.requires(): Instead of raising TestSkipped, raise a new
...
exception, ResourceDenied. This is used to distinguish between tests that
are skipped for other reasons (platform support, missing data, etc.) from
those that are skipped because a "resource" has not been enabled. This
prevents those tests from being reported as unexpected skips for the
platform; those should only be considered unexpected skips if the resource
were enabled.
2003-02-03 15:19:30 +00:00
Walter Dörwald
7a2d7a74fc
Remove test_b1 and test_b2 from the list of tests
...
that are no real tests, because test_b1 and
test_b2 no longer exist. (Spotted by Raymond Hettinger)
2003-02-03 11:54:39 +00:00
Jack Jansen
6afc5e02fa
- The mac-specific tests should also be run on darwin.
...
- Added test_aepack to the mac/darwin specific tests.
2003-01-29 16:24:16 +00:00
Tim Peters
ecd79eb7db
Expect test_macostools and test_macfs to get skipped whenever
...
sys.platform != mac. Likewise expect test_win{reg,sound} to get skipped
on non-win32 platforms.
2003-01-29 00:35:32 +00:00
Tim Peters
40e1ce4d73
Repaired spelling of "test_iconv_codecs" in various expected-skip lists.
2003-01-27 16:45:03 +00:00
Martin v. Löwis
9789aefa61
Patch #670715 : Universal Unicode Codec for POSIX iconv.
2003-01-26 11:30:36 +00:00
Jack Jansen
6797514557
Updated the list of expected skips for MacPython-OS9.
2003-01-08 16:31:11 +00:00
Andrew MacIntyre
fd07e7dda7
add list of expected skips for the OS/2 EMX port
2002-12-31 11:26:50 +00:00
Jack Jansen
acda3394bb
Updated the expected skips for MacOSX.
2002-12-30 23:03:13 +00:00
Tim Peters
efc4b12169
Added test_ossaudiodev to expected skips on Windows.
2002-12-10 18:47:56 +00:00
Tim Peters
b0f89e05ad
Add a Cygwin skip mentioned by Jason Tishler.
2002-12-05 17:20:25 +00:00
Jason Tishler
2511594060
Patch #551977 : Regression exceptions for cygwin
...
This patch updates regrtest.py to understand which
tests are normally skipped under Cygwin. The list of
tests was verified with the Cygwin Python maintainer.
2002-12-05 15:18:15 +00:00
Tim Peters
b4ee4eb3b3
Rearrange test_socket_ssl so that a skip is expected iff the network
...
resource isn't enabled or the socket module doesn't support ssl.
2002-12-04 03:26:57 +00:00
Guido van Rossum
9d4270070a
Some more expected skips on OSX.
2002-12-03 10:24:56 +00:00
Guido van Rossum
bb48465273
On Max OSX, try increasing the stack limit to 2048 so test_re and
...
test_sre won't die with a SegFault.
2002-12-02 09:56:21 +00:00
Fred Drake
4dd0f7ef7a
Add a way to say "use any resource except A". For example, to run
...
allow the use of any resource except bsddb, give the option
"-uall,-bsddb".
2002-11-26 21:44:56 +00:00
Tim Peters
1babdfc48a
Reduced memory burden by iterating over the normalization test input
...
file directly (instead of sucking it all into a list of lines first).
2002-11-24 19:19:09 +00:00
Tim Peters
1b445d3fcf
Fiddled things so that test_normalization is expected to be skipped if
...
and only if the test input file doesn't exist.
2002-11-24 18:53:11 +00:00
Tim Peters
d332c085ea
Skip test_normalization on Windows until it's at least clear why the
...
data it needs doesn't exist in the project. If it's a huge file,
maybe the test should be changed to be one of the -u thingies.
2002-11-24 02:40:40 +00:00
Tim Peters
78e35f9311
Move Windows Python away from bsddb 1.85 and toward Sleepycat's latest.
...
The bsddb subproject is gone.
The _bsddb subproject is new.
There are problems here, but I'm out of time to work on this now. If
anyone can address an XXX comment or two in readme.txt, please do!
2002-11-22 20:00:34 +00:00
Martin v. Löwis
1c6b1a2b4e
Importing test suite from bsddb3 3.4.0 (with modifications).
2002-11-19 17:47:07 +00:00
Fred Drake
de4742b87f
Remove spurious cruft from the output.
2002-10-17 20:36:08 +00:00
Tim Peters
2a182dbf3f
Logic for determining whether skipping test_pep277 is expected: whether
...
ths "should be" skipped depends on os.path.supports_unicode_filenames,
not really on the platform. Fiddled the expected-skip constructor
appropriately.
2002-10-09 01:07:11 +00:00
Guido van Rossum
9cce029e48
Add test_pep277 to the expected skips on Linux. (This test seems to
...
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.)
2002-10-06 20:36:31 +00:00
Martin v. Löwis
21ee4091e1
Patch #615069 : Fix build problems on SCO Open Server 5. Backported to 2.2.
2002-09-30 16:19:48 +00:00
Guido van Rossum
c34c4fc3ab
Suppress hex/oct constant warnings in <string> on 64-bit platforms,
...
because there test_grammar.py pulls them out of strings there.
2002-09-19 00:42:16 +00:00
Guido van Rossum
3cda93ebf6
Add a bunch of sys.stdout.flush() calls that will hopefully improve
...
the usability of the output of the Xenofarm builds.
2002-09-13 21:28:03 +00:00
Tim Peters
7c7efe9073
Got rid of the toy _Set class, in favor of sets.Set.
2002-08-23 17:55:54 +00:00
Guido van Rossum
88b1defb6f
The filterwarnings() call here should be updated to filter out
...
FutureWarning.
2002-08-14 17:54:48 +00:00
Guido van Rossum
dc15c27f50
Suppress warnings about test_grammar.py that can't be suppressed inside
...
that file itself (because it's the parser that reports them).
2002-08-12 21:55:51 +00:00
Barry Warsaw
408b6d34de
Complete the absolute import patch for the test suite. All relative
...
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.
2002-07-30 23:27:12 +00:00
Barry Warsaw
04f357cffe
Get rid of relative imports in all unittests. Now anything that
...
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. :)
2002-07-23 19:04:11 +00:00
Jeremy Hylton
ed375e18d1
Add missing comma.
2002-07-17 15:56:55 +00:00
Guido van Rossum
11c3f0999f
Add a rather generous set of tests allowed to be skipped on sunos5.
2002-07-17 15:08:24 +00:00
Tim Peters
c411dbaeee
Whitespace normalization.
2002-07-16 21:35:23 +00:00
Tim Peters
ba78bc4a32
printlist(): Replaced the guts with a call to textwrap. Yay!
2002-07-04 19:45:06 +00:00
Martin v. Löwis
f90ae20354
Patch #488073 : AtheOS port.
2002-06-11 06:22:31 +00:00
Guido van Rossum
9e9d4f8ed8
Added -t (--threshold) option to call gc.set_threshold(N).
2002-06-07 15:17:03 +00:00
Tim Peters
c5000dfc40
regrtest has a new
...
-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).
2002-06-02 21:42:01 +00:00
Andrew MacIntyre
e41abab33b
Fred's recent changes to support "-u all" resulted in subset resource
...
selections (eg "-u network") being ignored.
2002-04-30 12:11:04 +00:00
Tim Peters
1e33ffa5c7
test_resource has no chance of running on Windows.
2002-04-23 23:09:02 +00:00
Tim Peters
639295f0a5
Enable universal newlines on Windows. Note that NEWS needs more words!
2002-04-21 07:30:30 +00:00
Guido van Rossum
6184c117e9
Expect test_email_codecs to be skipped -- few users or developers will
...
have the needed optional Japanese codecs installed.
2002-04-16 02:14:04 +00:00
Tim Peters
50ac30ee01
OK, don't call resetwarnings().
2002-04-16 00:29:27 +00:00
Tim Peters
7d79948103
It makes more sense to call resetwarnings() after every test runs than
...
to keep doing that in every test that wants to filter a warning.
2002-04-16 00:01:09 +00:00
Tim Peters
a91a02a76d
I expect test_univnewlines to be skipped on Windows. I expect this
...
because it *is* skipped. I'm not entirely sure it should be skipped, but
figuring that out would take actual thought <wink>.
2002-04-15 23:56:04 +00:00
Fred Drake
04a8da5cdb
Clean up the "all" support for -u.
2002-04-11 20:58:54 +00:00
Tim Peters
deb121aec7
I don't expect test_email_codecs to run on Windows.
2002-04-11 19:52:58 +00:00
Fred Drake
3a15dace36
Added the resource name "all" to enable all of the optional resource uses.
...
This is nice for use with "make TESTOPTS='-u all' test".
2002-04-11 16:39:16 +00:00
Tim Peters
de14a30d1d
We expect to skip the new test_mpz on Windows.
2002-04-01 05:04:46 +00:00
Skip Montanaro
b32302176e
first cut at skip-list for hp-ux 11 based upon input from Bill Lawler at HP.
2002-03-15 02:54:03 +00:00
Neal Norwitz
af64263afc
Fix typo
2002-02-08 20:13:53 +00:00
Jack Jansen
f839c27027
Added test_socketserver and test_unicode_file to tests expected to be
...
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).
2001-12-14 21:28:53 +00:00
Jack Jansen
8a97f4a380
sys.platform on Mac OS X is now "darwin", without any version number appended.
...
This should probably go into NEWS (who's responsible for that?).
2001-12-05 23:27:32 +00:00
Jack Jansen
398c236c1b
Added tests expected to be skipped on Mac OS X.
2001-12-02 21:41:36 +00:00
Jack Jansen
b3be216b41
Merged changes made on r22b2-branch between r22b2 and r22b2-mac (the
...
changes from start of branch upto r22b2 were already merged, of course).
2001-11-30 14:16:36 +00:00
Tim Peters
1633a2e345
Whitespace normalization.
2001-10-30 05:56:40 +00:00
Guido van Rossum
e2ae77b8b8
SF patch #474590 -- RISC OS support
2001-10-24 20:42:55 +00:00
Guido van Rossum
f66dacdb01
test_curses is an expected skip on Linux too.
2001-10-23 15:10:55 +00:00
Tim Peters
d703057752
Record that test_curses doesn't run on win32.
2001-10-22 22:06:08 +00:00
Andrew M. Kuchling
2158df0b4d
Patch #473187 : Add a test script that exercises most of the functions in
...
the curses module. It's not run automatically; '-u curses' must be
specified as an argument to regrtest
2001-10-22 15:26:09 +00:00
Tim Peters
e0c446bb4a
Whitespace normalization.
2001-10-18 21:57:37 +00:00
Jeremy Hylton
7a1ea0e880
Make sure the output lists are sorted, even if run with -r.
2001-10-17 13:45:28 +00:00
Fred Drake
88a56857f6
Remove an infelicitous space.
2001-09-28 20:16:30 +00:00
Tim Peters
9390cc15da
regrtest's -g option stopped working, during the changes to improve
...
error-reporting for the classic compare-expected-output tests.
Curiously, the bug consisted of not simplifying the logic enough!
2001-09-28 20:14:46 +00:00
Tim Peters
8dee809410
Guido points out that sys.__stdout__ is a bit bucket under IDLE. So keep
...
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.
2001-09-25 20:05:11 +00:00