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