-
-
Save tjfontaine/e76dc427cd81e684d7b9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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