Sort trace-tests by name before running them. No bug#, rs=Waldo via IRC.

This commit is contained in:
Jason Orendorff 2010-04-29 09:11:05 -05:00
parent 3a939263c2
commit c2217cdb74

View File

@ -92,6 +92,8 @@ class Test:
def find_tests(dir, substring = None): def find_tests(dir, substring = None):
ans = [] ans = []
for dirpath, dirnames, filenames in os.walk(dir): for dirpath, dirnames, filenames in os.walk(dir):
dirnames.sort()
filenames.sort()
if dirpath == '.': if dirpath == '.':
continue continue
for filename in filenames: for filename in filenames: