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

Unified Diff: tools/run-tests.py

Issue 1167343003: Revert of [test] Refactoring - Let runner handle test IDs. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 6 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/execution.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/run-tests.py
diff --git a/tools/run-tests.py b/tools/run-tests.py
index 897f4832848da171b4dd8449eb30dd4025348353..78a7edc35e9614f291a43bc1a35ed5dd50551a29 100755
--- a/tools/run-tests.py
+++ b/tools/run-tests.py
@@ -584,6 +584,7 @@
}
all_tests = []
num_tests = 0
+ test_id = 0
for s in suites:
s.ReadStatusFile(variables)
s.ReadTestCases(ctx)
@@ -601,6 +602,9 @@
for v in s.VariantFlags(t, variant_flags) ]
s.tests = ShardTests(s.tests, options.shard_count, options.shard_run)
num_tests += len(s.tests)
+ for t in s.tests:
+ t.id = test_id
+ test_id += 1
if options.cat:
return 0 # We're done here.
« no previous file with comments | « no previous file | tools/testrunner/local/execution.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698