Regression test suite: Test files in proper lexicographic order instead of relying on OS directory iteration order. This ensures failures are listed in the same order.
parent
56132ed9bb
commit
b2ea487bda
|
@ -165,7 +165,7 @@ def process_dir(d, outfile_results, zipin, result):
|
||||||
shellparams = {'stdout':outfile_results, 'stderr':outfile_results, 'shell':False}
|
shellparams = {'stdout':outfile_results, 'stderr':outfile_results, 'shell':False}
|
||||||
|
|
||||||
print("Processing directory " + d)
|
print("Processing directory " + d)
|
||||||
for f in os.listdir(d):
|
for f in sorted(os.listdir(d)):
|
||||||
fullpath = os.path.join(d, f)
|
fullpath = os.path.join(d, f)
|
||||||
if os.path.isdir(fullpath) and not f == ".svn":
|
if os.path.isdir(fullpath) and not f == ".svn":
|
||||||
process_dir(fullpath, outfile_results, zipin, result)
|
process_dir(fullpath, outfile_results, zipin, result)
|
||||||
|
|
Loading…
Reference in New Issue