summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2013-01-10 01:58:30 +0100
committerBen Noordhuis <info@bnoordhuis.nl>2013-01-10 01:58:30 +0100
commita6756a2c064c21b41fc0ab0379bd4e055feb8bc0 (patch)
tree358c491519cd5c8167adc5f95c7fa0284658fe23 /tools
parentc207d400f118032a419f978e766acd99af980132 (diff)
downloadandroid-node-v8-a6756a2c064c21b41fc0ab0379bd4e055feb8bc0.tar.gz
android-node-v8-a6756a2c064c21b41fc0ab0379bd4e055feb8bc0.tar.bz2
android-node-v8-a6756a2c064c21b41fc0ab0379bd4e055feb8bc0.zip
test: run tests in alphabetical order
Diffstat (limited to 'tools')
-rwxr-xr-xtools/test.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/test.py b/tools/test.py
index 29e850dacb..b60eddd048 100755
--- a/tools/test.py
+++ b/tools/test.py
@@ -667,6 +667,7 @@ class LiteralTestSuite(TestSuite):
if not name or name.match(test_name):
full_path = current_path + [test_name]
test.AddTestsToList(result, full_path, path, context, mode)
+ result.sort(cmp=lambda a, b: cmp(a.GetName(), b.GetName()))
return result
def GetTestStatus(self, context, sections, defs):