Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1006)

Unified Diff: test/cctest/testcfg.py

Issue 1842673002: [test] Fix deterministic test shards. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Key function for more speed. Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tools/testrunner/local/testsuite.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/testcfg.py
diff --git a/test/cctest/testcfg.py b/test/cctest/testcfg.py
index 0e9a128b52a9ac9e173b1f52ad48fa4332365d6e..36db837c6c7ce766cc43cdc44dd3f595223934c4 100644
--- a/test/cctest/testcfg.py
+++ b/test/cctest/testcfg.py
@@ -58,7 +58,7 @@ class CcTestSuite(testsuite.TestSuite):
for test_desc in output.stdout.strip().split():
test = testcase.TestCase(self, test_desc)
tests.append(test)
- tests.sort()
+ tests.sort(key=lambda t: t.path)
return tests
def GetFlagsForTestCase(self, testcase, context):
« no previous file with comments | « no previous file | tools/testrunner/local/testsuite.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698