Index: tools/testrunner/local/progress.py |
diff --git a/tools/testrunner/local/progress.py b/tools/testrunner/local/progress.py |
index 469d64bc00a2344efc2589a7c15ab89824a1be93..60ec635262b6e818802d84d50aa77b0f4356dcc8 100644 |
--- a/tools/testrunner/local/progress.py |
+++ b/tools/testrunner/local/progress.py |
@@ -313,10 +313,11 @@ class JUnitTestProgressIndicator(ProgressIndicator): |
class JsonTestProgressIndicator(ProgressIndicator): |
- def __init__(self, json_test_results, arch, mode): |
+ def __init__(self, json_test_results, arch, mode, random_seed): |
self.json_test_results = json_test_results |
self.arch = arch |
self.mode = mode |
+ self.random_seed = random_seed |
self.results = [] |
self.tests = [] |
@@ -370,6 +371,11 @@ class JsonTestProgressIndicator(ProgressIndicator): |
"result": test.suite.GetOutcome(test), |
"expected": list(test.outcomes or ["PASS"]), |
"duration": test.duration, |
+ |
+ # TODO(machenbach): This stores only the global random seed from the |
+ # context and not possible overrides when using random-seed stress. |
+ "random_seed": self.random_seed, |
+ "variant": test.variant, |
}) |