From 46879ff8b9f4e7cd9b32542f97b282afbf41553a Mon Sep 17 00:00:00 2001 From: albert-github Date: Sat, 5 Jan 2019 19:48:35 +0100 Subject: 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. --- testing/runtests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v0.12