Permalink
Browse files

Merge pull request #8 from carlosmn/master

Properly sort the tests
  • Loading branch information...
2 parents 2fdf92f + e390111 commit 1c8bf0b4d3209284ee05b1bcc7b3d8e866293851 @vmg vmg committed Nov 7, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 clay.py
View
@@ -64,6 +64,7 @@ def __init__(self, path, clay_path = None, print_mode = 'stdout'):
for root, dirs, files in os.walk(self.path):
module_root = root[len(self.path):]
module_root = [c for c in module_root.split(os.sep) if c]
+ dirs.sort()
tests_in_module = fnmatch.filter(files, "*.c")
tests_in_module.sort()

0 comments on commit 1c8bf0b

Please sign in to comment.