summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2019-11-30 19:28:15 +0000
committerVincent Sanders <vince@kyllikki.org>2019-11-30 19:28:15 +0000
commit48f3df0633eead0028391c5b980eb989d14eb34e (patch)
treea574f17c5a8b1e45913e81ba5c86d7d50b80b1bb
parent41dc90b68400e2827578c733ec583f14ff23a9eb (diff)
downloadnetsurf-test-48f3df0633eead0028391c5b980eb989d14eb34e.tar.gz
netsurf-test-48f3df0633eead0028391c5b980eb989d14eb34e.tar.bz2
sort the test filenames to provide consistant results
-rwxr-xr-xcgi-bin/monkey-index.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/cgi-bin/monkey-index.cgi b/cgi-bin/monkey-index.cgi
index 3d3b380..4ae41f6 100755
--- a/cgi-bin/monkey-index.cgi
+++ b/cgi-bin/monkey-index.cgi
@@ -47,7 +47,7 @@ def main():
flist.extend(os.path.join(division, f) for f in os.listdir(testroot + '/' + division) if f.endswith('.yaml'))
# load all test plan yaml files
- for fname in flist:
+ for fname in sorted(flist):
with open(os.path.join(testroot, fname), "r") as file_handle:
files[fname] = yaml.load(file_handle, Loader=yaml.CSafeLoader)