summaryrefslogtreecommitdiffstats
path: root/testing/runtests.py
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2019-01-05 18:48:35 (GMT)
committeralbert-github <albert.tests@gmail.com>2019-01-05 18:48:35 (GMT)
commit46879ff8b9f4e7cd9b32542f97b282afbf41553a (patch)
tree5da8a865c8f8254fd53bf745279535a9dde0b1d4 /testing/runtests.py
parent8c42b1c0036a727194fe47a2c46230d30df374d8 (diff)
downloadDoxygen-46879ff8b9f4e7cd9b32542f97b282afbf41553a.zip
Doxygen-46879ff8b9f4e7cd9b32542f97b282afbf41553a.tar.gz
Doxygen-46879ff8b9f4e7cd9b32542f97b282afbf41553a.tar.bz2
Tests are unsorted
When requesting all tests they are sorted in the way `glob.glob` returns them, i.e. unsorted, better, more intuitive and easier for finding problems, would be sorted.
Diffstat (limited to 'testing/runtests.py')
-rwxr-xr-xtesting/runtests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/runtests.py b/testing/runtests.py
index 0ff0e6f..3bf4b9b 100755
--- a/testing/runtests.py
+++ b/testing/runtests.py
@@ -412,7 +412,7 @@ def main():
tests.append(glob.glob('0%s_*'%id))
tests.append(glob.glob('00%s_*'%id))
if (not args.ids and not args.start_id): # find all tests
- tests = glob.glob('[0-9][0-9][0-9]_*')
+ tests = sorted(glob.glob('[0-9][0-9][0-9]_*'))
else:
tests = list(itertools.chain.from_iterable(tests))
os.chdir(starting_directory)