Roger E. Masse
f85f052035
Very very small comment change.
1996-12-20 22:39:24 +00:00
Roger E. Masse
fab8ab8067
Many scripts, but small changes. Update the way the scripts obtain the
...
'verbose' flag ala GvR updated test harness architecture.
Old way:
verbose = 0
if __name__ == '__main__':
verbose = 1
New way:
from test_support import verbose
Some other small readablility and functionality updates.
1996-12-20 22:36:52 +00:00
Barry Warsaw
4b722788ae
added test of the regex module
...
[NOTE: testall.py and autotest.py might could go away soon, I've
played with Guido's new regrtest.py script and it seems to work well.
I'll wait until Guido gives the word to completely switch over -- and
change the Makefile too!]
1996-12-20 22:00:21 +00:00
Roger E. Masse
4455cd8e19
More and better comments.
1996-12-20 21:52:29 +00:00
Roger E. Masse
3507f502c9
Minor semantic cleanup.
1996-12-20 21:47:58 +00:00
Roger E. Masse
e9e0bd90ae
Output for test script for the SGI imgfile module.
1996-12-20 21:42:09 +00:00
Roger E. Masse
033d91b784
Test script for the SGI imgfile module.
1996-12-20 21:41:50 +00:00
Roger E. Masse
470dcbf8e3
8 bit greyscale test file needed for testing imageop and imgfile.
1996-12-20 20:50:10 +00:00
Roger E. Masse
47e98307e0
Test program for the SGI imageop module.
1996-12-20 20:49:06 +00:00
Roger E. Masse
cfaac40e31
test output for SGI imageop C module.
1996-12-20 20:47:17 +00:00
Guido van Rossum
0b25a662e0
Two new files (to shut up regrtest).
1996-12-20 03:14:42 +00:00
Guido van Rossum
4f30aff585
Added example DL for SGI IRIX.
1996-12-20 03:13:36 +00:00
Guido van Rossum
4fdb744f53
Added test for minmax.
1996-12-20 03:13:06 +00:00
Guido van Rossum
152494aea2
New regression test harness. See usage message / doc string.
1996-12-20 03:12:20 +00:00
Guido van Rossum
2bde783a97
Import verbose flag from test_support instead of testing __name__.
1996-12-20 03:03:39 +00:00
Guido van Rossum
0a94cc788e
Set test_support.verbose to 0, to signal tests only to generate
...
portable output.
1996-12-20 03:03:01 +00:00
Guido van Rossum
531661c1ae
Add verbose flag for regression test to clear.
1996-12-20 02:58:22 +00:00
Barry Warsaw
a09ec19a33
Test of the operator module
1996-12-18 19:56:22 +00:00
Roger E. Masse
96bd636ad1
Test script output for the UNIX group file access module (grp)
1996-12-18 19:37:07 +00:00
Roger E. Masse
749cc6b241
Test script for the UNIX group file access module (grp)
1996-12-18 19:36:34 +00:00
Guido van Rossum
5eaf457869
Different operation in verbose mode: show the supported nonstandard
...
options. Also added two: %n and %t (newline and tab character).
1996-12-18 18:03:10 +00:00
Barry Warsaw
af82a7ef49
In lieu of harness rewrite, fixed problem with test_thread ImportError
...
triggering a bogus TestFailed exception.
1996-12-18 16:39:31 +00:00
Roger E. Masse
d87e0bf651
Test output for the GNU dbm module (gdbm)
1996-12-17 19:54:46 +00:00
Roger E. Masse
62a017c092
Test script for the GNU dbm module (gdbm)
1996-12-17 19:54:27 +00:00
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
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
Barry Warsaw
e3c0170ba0
Output file for module struct test
1996-12-13 00:25:52 +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
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
Barry Warsaw
792c94a320
A test of the select module that is actually reproduceable!
1996-12-11 23:58:46 +00:00