Guido van Rossum
6fd83b7b38
Generalized so it's useful for testing other packages, by Andrew
...
Kuchling @ CNRI.
1998-08-01 17:04:08 +00:00
Guido van Rossum
e87ed5f6d4
Add writelines() method to Compare class.
1998-04-23 13:33:21 +00:00
Guido van Rossum
41360a4696
Mass check-in after untabifying all files that need it.
1998-03-26 19:42:58 +00:00
Guido van Rossum
4e8ef5fcd3
Catch KeyboardInterrupt separately and propagate it, instead of
...
reporting a "crash".
Use sys.exc_info() instead of sys.exc_type and sys.exc_value.
1997-10-20 23:46:54 +00:00
Guido van Rossum
f9fa20b2d2
Pass optional arguments (globals(), locals(), []) to __import__() so
...
it will run as package test, e.g. this will run the test suite:
import test.regrtest
test.regrtest.main()
1997-09-07 16:42:34 +00:00
Guido van Rossum
a412220bbf
Change default verbosity so that there are only three levels left: -q,
...
default and -v. In default mode, the name of each test is printed.
-v is the same as the old -vv. -q is more quiet than the old default
mode; that's fine I think.
1997-08-18 20:08:24 +00:00
Guido van Rossum
e83870131b
Don't call sys.exit() all over the place -- simply return the exit
...
status from main() and call sys.exit(main()) in the startup stub at
the end of the file.
1997-08-14 19:40:34 +00:00
Guido van Rossum
75fce308bc
Add flush() method to fake file.
1997-07-17 14:51:37 +00:00
Guido van Rossum
9e48b272b9
Catch all exceptions in test modules.
1997-07-16 01:56:13 +00:00
Guido van Rossum
f58ed25967
Add "extra-verbose" mode, triggered by specifying two -v flags. In
...
this mode, all tests are run in verbose mode with their output to
stdout. No comparing of output is done.
1997-03-07 21:04:33 +00:00
Guido van Rossum
152494aea2
New regression test harness. See usage message / doc string.
1996-12-20 03:12:20 +00:00