diff options
| author | Jeremy Hylton <jeremy@alum.mit.edu> | 2001-10-17 13:45:28 +0000 | 
|---|---|---|
| committer | Jeremy Hylton <jeremy@alum.mit.edu> | 2001-10-17 13:45:28 +0000 | 
| commit | 7a1ea0e88034cdc03d546f0947fc8ecb30f4435f (patch) | |
| tree | 05bef5e808dbf804ca16f9b868038527d01fb201 | |
| parent | b8903fbf9b87c079be1438f7e7cdb6c06381ef55 (diff) | |
| download | cpython-git-7a1ea0e88034cdc03d546f0947fc8ecb30f4435f.tar.gz | |
Make sure the output lists are sorted, even if run with -r.
| -rwxr-xr-x | Lib/test/regrtest.py | 6 | 
1 files changed, 6 insertions, 0 deletions
diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py index 6e5f91b7b5..1f9efa724a 100755 --- a/Lib/test/regrtest.py +++ b/Lib/test/regrtest.py @@ -194,6 +194,12 @@ def main(tests=None, testdir=None, verbose=0, quiet=0, generate=0,          for module in sys.modules.keys():              if module not in save_modules and module.startswith("test."):                  test_support.unload(module) + +    # The lists won't be sorted if running with -r +    good.sort() +    bad.sort() +    skipped.sort() +          if good and not quiet:          if not bad and not skipped and len(good) > 1:              print "All",  | 
