Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | * added a randomize flag and corresponding -r command line argument that | Skip Montanaro | 2000-06-30 | 1 | -8/+13 |
| | | | | | | | | | allows the caller to execute the various tests in pseudo-random order - default is still to execute tests in the order returned by findtests(). * moved initialization of the various flag variables to the main() function definition, making it possible to execute regrtest.main() interactively and still override default behavior. | ||||
* | Alas, Vladimir's patch was too aggressive, and started causing really | Guido van Rossum | 2000-05-05 | 1 | -1/+1 |
| | | | | | | | | weird errors. (E.g. see thread "weird bug in test_winreg" in python-dev.) Since it's actually useful to be able to re-run an individual test after running test.autotest, we keep the unloading code, but only for modules whose full name starts with "test.". | ||||
* | Patch by Vladimir Marangozov to unload additionally imported modules | Guido van Rossum | 2000-04-21 | 1 | -0/+5 |
| | | | | | after each test has been run. This avoids excessive memory growth during the tests. | ||||
* | Added a -s option which is useful for narrowing down memory leaks. | Barry Warsaw | 1999-01-28 | 1 | -4/+42 |
| | | | | | With -s only a single test is run. The next test run is chosen sequentially from the list of all tests. | ||||
* | There was still something wrong. The original NOTTESTS are replaced | Guido van Rossum | 1998-08-25 | 1 | -3/+6 |
| | | | | | | by the new '-x' arguments, losing the previous items. Thus, test_support, test_b1 & test_b2 are executed (and warnings issued). (Discovered by Vladimir Marangozov.) | ||||
* | Should pass explicit arguments to findtests(). Should initialize 'nottests'. | Guido van Rossum | 1998-08-24 | 1 | -2/+4 |
| | |||||
* | Generalized so it's useful for testing other packages, by Andrew | Guido van Rossum | 1998-08-01 | 1 | -9/+34 |
| | | | | Kuchling @ CNRI. | ||||
* | Add writelines() method to Compare class. | Guido van Rossum | 1998-04-23 | 1 | -0/+3 |
| | |||||
* | Mass check-in after untabifying all files that need it. | Guido van Rossum | 1998-03-26 | 1 | -80/+80 |
| | |||||
* | Catch KeyboardInterrupt separately and propagate it, instead of | Guido van Rossum | 1997-10-20 | 1 | -1/+4 |
| | | | | | | reporting a "crash". Use sys.exc_info() instead of sys.exc_type and sys.exc_value. | ||||
* | Pass optional arguments (globals(), locals(), []) to __import__() so | Guido van Rossum | 1997-09-07 | 1 | -1/+1 |
| | | | | | | | it will run as package test, e.g. this will run the test suite: import test.regrtest test.regrtest.main() | ||||
* | Change default verbosity so that there are only three levels left: -q, | Guido van Rossum | 1997-08-18 | 1 | -12/+15 |
| | | | | | | 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. | ||||
* | Don't call sys.exit() all over the place -- simply return the exit | Guido van Rossum | 1997-08-14 | 1 | -4/+4 |
| | | | | | status from main() and call sys.exit(main()) in the startup stub at the end of the file. | ||||
* | Add flush() method to fake file. | Guido van Rossum | 1997-07-17 | 1 | -0/+3 |
| | |||||
* | Catch all exceptions in test modules. | Guido van Rossum | 1997-07-16 | 1 | -0/+6 |
| | |||||
* | Add "extra-verbose" mode, triggered by specifying two -v flags. In | Guido van Rossum | 1997-03-07 | 1 | -4/+12 |
| | | | | | this mode, all tests are run in verbose mode with their output to stdout. No comparing of output is done. | ||||
* | New regression test harness. See usage message / doc string. | Guido van Rossum | 1996-12-20 | 1 | -0/+170 |