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. |