projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c207d40
)
test: run tests in alphabetical order
author
Ben Noordhuis
<info@bnoordhuis.nl>
Thu, 10 Jan 2013 00:58:30 +0000
(
01:58
+0100)
committer
Ben Noordhuis
<info@bnoordhuis.nl>
Thu, 10 Jan 2013 00:58:30 +0000
(
01:58
+0100)
tools/test.py
patch
|
blob
|
history
diff --git
a/tools/test.py
b/tools/test.py
index
29e850d
..
b60eddd
100755
(executable)
--- 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):