Ensure suite components are run in alphabetical order.

This commit is contained in:
Tommi Virtanen 2011-06-21 10:19:35 -07:00
parent 05e2ba9b15
commit b0c8b1d7b8

View File

@ -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')
]