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
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
Barry Warsaw
0f150e41be
Added test_new.
1996-12-10 16:27:16 +00:00
Roger E. Masse
16f9fd2bcf
Added a test script for dbmmodule.c and added it to testall.py and
...
updated testall.out
1996-12-10 00:06:24 +00:00
Barry Warsaw
3ac30af867
Added test_new
1996-12-10 00:02:57 +00:00
Roger E. Masse
75362381b5
new test script for cryptmodule.py
1996-12-09 23:13:45 +00:00
Roger E. Masse
b6b85ddc95
Test script/output for cryptmodule.c added to testall.py and testall.out
1996-12-09 23:13:07 +00:00
Roger E. Masse
3daddda165
New test module for complex math module
1996-12-09 22:59:15 +00:00
Roger E. Masse
b71035782e
Added test_cmath.py to test complex math module
1996-12-09 22:58:42 +00:00
Barry Warsaw
3ab26b9d75
(testall.py): Slightly improved test harness to make it easier to add
...
simple tests.
(testall.py, testall.out): Added MD5 testsuite
1996-12-09 22:34:15 +00:00
Barry Warsaw
49852831fc
Added test_strop
1996-12-09 21:49:55 +00:00
Barry Warsaw
ad522facf7
Added tests of all strop module functions, and touching of module
...
variables
1996-12-09 21:49:10 +00:00
Guido van Rossum
6c832ebfe9
Added test_array output line.
1996-12-09 21:37:33 +00:00
Roger E. Masse
8db1b0764b
module to test the arraymodule created and added to testall.py
1996-12-09 20:09:16 +00:00
Barry Warsaw
6ab7f077ff
Added test_time
1996-12-06 23:30:49 +00:00
Barry Warsaw
5bebca2ac2
Added 'test_time'
1996-12-06 23:30:33 +00:00
Barry Warsaw
b0c2232011
test of time module. not terribly fancy, but it does touch every
...
function and variable in the module, verifies a few return values and
even tests a couple of known error conditions.
1996-12-06 23:30:07 +00:00
Guido van Rossum
f06ee5fa07
/usr/local/bin/python -> /usr/bin/env python
1996-11-27 19:52:01 +00:00
Guido van Rossum
6592f88fc0
Removed debugging print statement
1996-10-08 14:10:51 +00:00
Guido van Rossum
edaf1c931c
Simple test module for strop.
1996-10-08 14:07:56 +00:00
Guido van Rossum
5ab007b098
Subtle hack so the eps printed is not dependent on the formatting
...
habits of the C library we happen to use...
1996-08-29 19:00:46 +00:00
Guido van Rossum
fcce630a7d
Added test for math module
1996-08-08 18:26:25 +00:00
Guido van Rossum
e2cb7274ea
exec() -> exec
1995-08-11 14:24:47 +00:00
Guido van Rossum
a49d94af08
test for specific bug in vars()
1995-08-11 14:24:35 +00:00