From b0c8b1d7b87112b75b33cbc5aedc86696fa94ec6 Mon Sep 17 00:00:00 2001 From: Tommi Virtanen Date: Tue, 21 Jun 2011 10:19:35 -0700 Subject: [PATCH] Ensure suite components are run in alphabetical order. --- teuthology/suite.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/teuthology/suite.py b/teuthology/suite.py index 3ee1264a30c44..5ce78e6316572 100644 --- a/teuthology/suite.py +++ b/teuthology/suite.py @@ -67,12 +67,13 @@ useful for specifying actual machines to run on. failed = False facets = [ - f for f in os.listdir(args.suite) + f for f in sorted(os.listdir(args.suite)) if not f.startswith('.') and os.path.isdir(os.path.join(args.suite, f)) ] facet_configs = ( - [(f, name, os.path.join(args.suite, f, name)) for name in os.listdir(os.path.join(args.suite, f)) + [(f, name, os.path.join(args.suite, f, name)) + for name in sorted(os.listdir(os.path.join(args.suite, f))) if not name.startswith('.') and name.endswith('.yaml') ] -- 2.39.5