Roger E. Masse
0bff94ffdf
Added the test output for fcntl.
1996-12-17 17:41:36 +00:00
Roger E. Masse
fb01d4b1a4
Added a test script for the fcntl C module.
1996-12-17 17:41:09 +00:00
Barry Warsaw
8069f43815
Output for _xdr module test
1996-12-17 00:02:45 +00:00
Barry Warsaw
3863fb53b8
A test of the _xdrmodule (not the entire xdr.py module).
1996-12-17 00:00:53 +00:00
Barry Warsaw
237efc5d6f
Added _xdrmodule test
1996-12-17 00:00:17 +00:00
Barry Warsaw
ac3acc2b48
(test_thread): output from thread test
1996-12-16 23:42:56 +00:00
Barry Warsaw
af0a1a6530
(test_thread.py): modifications to quiet it up when not running as a script.
...
(testall.py): added test_thread to the list of regression tests.
1996-12-16 23:42:35 +00:00
Fred Drake
09bcf8c031
(sgmllib.py): Partial acceptance of patch from David Leonard
...
<leonard@dstc.edu.au>; allows hyphen and period in the middle
of attribute names. Still not allowed as first character;
as first character these are illegal in the Reference Concrete
Syntax, and we've not identified any use of these characters as
the first char in an attribute name in deployment on the web.
1996-12-16 21:56:27 +00:00
Roger E. Masse
b6454e58bc
Updated test_crypt test to jive with bwarsaw testing style
1996-12-16 20:44:56 +00:00
Roger E. Masse
a38ab505b6
Revised output for test_crypt
1996-12-16 20:44:16 +00:00
Roger E. Masse
9c6db35a1e
Revised test for errno ala bwarsaw's testing paradigm.
1996-12-16 20:40:20 +00:00
Roger E. Masse
8a51de4cdd
Output files for test_dl and test_errno
1996-12-16 20:36:05 +00:00
Roger E. Masse
e00d4da7fa
Added test_dl to harness
1996-12-16 20:34:43 +00:00
Roger E. Masse
2362b58952
Revised strategy for testing recomended by bwarsaw
1996-12-16 20:25:44 +00:00
Roger E. Masse
8ba76d3cf3
Added test_errno to the test suite
1996-12-16 20:20:33 +00:00
Roger E. Masse
7eee08d04f
Test for the dl module. This only works for SunOS and Solaris.
...
I've attempted to make a test that silently exits if either
module dl is not present, we're not on a Sun OS, or a standard
shared library ('/usr/lib/libresolv.so') is not found... Otherwise,
It does a simple test of dlmodule on that library. I *think*
this would be ok to add to testall.py but I'll wait till I hear
some feedback on the liberalness of this approach.
1996-12-13 20:32:26 +00:00
Barry Warsaw
2cc8163e30
nonstandard_expectations is only added when in verbose mode, so we
...
don't need the if test for verbosity when checking for results of an
unsupported option.
1996-12-13 18:12:34 +00:00
Barry Warsaw
4c23b5fdbc
Hmm, now that I think about it, we *can* use time.time() and 'date' if
...
running verbose.
1996-12-13 18:08:58 +00:00
Barry Warsaw
4eb01cd372
More or less portabilized.
...
1. If a conversion isn't supported on the current platform, just
ignore it, unless running as a script (i.e. verbose)
2. Don't use time.time() and os.popen('date') to get the raw values.
These will always be different!
1996-12-13 18:07:07 +00:00
Barry Warsaw
3c700ed613
Fixed
1996-12-13 18:05:28 +00:00
Guido van Rossum
0564e12367
Added quote_plus() and unquote_plus(), to do space/plus substitutions
...
for form field values.
1996-12-13 14:47:36 +00:00
Barry Warsaw
e3c0170ba0
Output file for module struct test
1996-12-13 00:25:52 +00:00
Guido van Rossum
27eb14d894
Added support for 4-channel on SGI.
...
Allow specifying the test file on the command line.
1996-12-13 00:19:56 +00:00
Guido van Rossum
25bcdb0e56
Added QUADRO.
1996-12-13 00:19:15 +00:00
Guido van Rossum
0caa7ec206
Fixed conversion between seconds and milliseconds.
1996-12-12 23:42:20 +00:00
Barry Warsaw
07a0eeceaa
A test of the struct module
1996-12-12 23:34:06 +00:00
Barry Warsaw
cb17a465eb
Print final report, either all tests OK, or list of failed and missing
...
tests.
1996-12-12 22:34:26 +00:00
Barry Warsaw
1c92eba2dd
Print a more meaningful message when a test's output file wasn't
...
found.
1996-12-12 22:21:10 +00:00
Guido van Rossum
32616fbee6
Make sure ok_builtin_modules, ok_dynamic_modules and
...
builtin_module_names are always tuples.
1996-12-12 21:31:52 +00:00
Guido van Rossum
15d1079dd2
Fixed test_strftime to be silent when called from autotest.
1996-12-12 19:07:19 +00:00
Guido van Rossum
483705c5a9
Added test_strftime (Skip Montanaro).
1996-12-12 19:03:11 +00:00
Guido van Rossum
6cdd7a0433
Add mktime_tz() which turns a date_tz 10-tuple into a standard Unix timestamp.
1996-12-12 18:39:54 +00:00
Guido van Rossum
c0967cd4a2
Added a bunch of new winfo options; we should now be up to date with
...
Tk 4.2. The new winfo options supported are: mananger, pointerx,
pointerxy, pointery, server, viewable, visualid, visualsavailable.
Also fixed bugs in winfo_colormapfull() and winfo_containing().
1996-12-12 16:43:05 +00:00
Barry Warsaw
792c94a320
A test of the select module that is actually reproduceable!
1996-12-11 23:58:46 +00:00
Barry Warsaw
042a207061
Output of rgbimg module test
1996-12-11 21:42:38 +00:00
Barry Warsaw
8bc74ceb8b
Added test of rgbimg module
1996-12-11 21:41:42 +00:00
Barry Warsaw
66e7f3ac43
minor formatting nit
1996-12-11 21:40:04 +00:00
Guido van Rossum
dbfed710a1
Be more careful with the shuffling of stdout.
1996-12-11 16:54:54 +00:00
Barry Warsaw
d96dfb72ea
Output of the nis and pwd module tests
1996-12-11 16:54:15 +00:00
Barry Warsaw
3d070fb391
Test of the pwd module
1996-12-11 16:53:51 +00:00
Barry Warsaw
ebfa2c4417
Added test_pwd
1996-12-11 16:52:56 +00:00
Guido van Rossum
2b6c2faa64
Rewrite without using try-except to break out of two loops.
1996-12-11 16:28:30 +00:00
Barry Warsaw
870d5c67ae
Just test one key/value pair for one NIS map. I.e. don't test them
...
all because it can take a really long time.
1996-12-11 16:07:30 +00:00
Barry Warsaw
3236b334ef
test of the nis module
1996-12-11 01:01:38 +00:00
Barry Warsaw
7822681992
added test_nis
1996-12-11 01:01:09 +00:00
Barry Warsaw
dde5c70c8a
Test output files in their new location
1996-12-10 23:20:09 +00:00
Barry Warsaw
e4a252ef88
Directory for test output files: Output => output
1996-12-10 23:19:14 +00:00
Barry Warsaw
2e644a0f86
When run as a script, runs each test and sends results to stdout
...
(i.e. this restores the old functionality).
Note that if a test couldn't be imported, it is just ignored (and no
warning is printed).
1996-12-10 23:10:39 +00:00
Barry Warsaw
272c00b634
New regression testing harness.
...
(testall.out): obsolete. see individual test output files in the
Output directory.
(testall.py): now contains only the list of all tests
(autotest.py): The new testing harness. Supports -g option to
generate output files instead of verifying; -w option to warn about
non-tested optional modules; additional command line arguments to
generate or test individual tests (useful for generating output file
of new tests).
1996-12-10 19:51:10 +00:00
Barry Warsaw
924e5d55b7
A test of the `new' module. The new.code() test is fairly bogus since
...
I'm really not sure what the proper inputs are. I do flex the
function call though by passing in arguments of the proper type. I
don't try to exec the code object that gets returned!
1996-12-10 16:28:53 +00:00