Skip to content

Instantly share code, notes, and snippets.

@tjfontaine
Created January 10, 2013 00:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tjfontaine/e76dc427cd81e684d7b9 to your computer and use it in GitHub Desktop.
Save tjfontaine/e76dc427cd81e684d7b9 to your computer and use it in GitHub Desktop.
diff --git a/test/simple/testcfg.py b/test/simple/testcfg.py
index bb2c4d1..0aa2108 100644
--- a/test/simple/testcfg.py
+++ b/test/simple/testcfg.py
@@ -107,7 +107,7 @@ class SimpleTestConfiguration(test.TestConfiguration):
def Ls(self, path):
def SelectTest(name):
return name.startswith('test-') and name.endswith('.js')
- return [f[:-3] for f in os.listdir(path) if SelectTest(f)]
+ return sorted([f[:-3] for f in os.listdir(path) if SelectTest(f)])
def ListTests(self, current_path, path, mode):
all_tests = [current_path + [t] for t in self.Ls(join(self.root))]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment