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

Unified Diff: tools/testrunner/objects/testcase.py

Issue 2724373002: [date] Add ICU backend for timezone info behind a flag (Closed)
Patch Set: or {} Created 3 years, 8 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 | « tools/testrunner/local/execution.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/testrunner/objects/testcase.py
diff --git a/tools/testrunner/objects/testcase.py b/tools/testrunner/objects/testcase.py
index 00722d768b3b44ebed23a9af8ec2524a463b0da5..37e3cb4ec2bd1465a55dec97f8b3341348d92989 100644
--- a/tools/testrunner/objects/testcase.py
+++ b/tools/testrunner/objects/testcase.py
@@ -41,11 +41,13 @@ class TestCase(object):
self.id = None # int, used to map result back to TestCase instance
self.duration = None # assigned during execution
self.run = 1 # The nth time this test is executed.
+ self.env = {}
def CopyAddingFlags(self, variant, flags):
copy = TestCase(self.suite, self.path, variant, self.flags + flags,
self.override_shell)
copy.outcomes = self.outcomes
+ copy.env = self.env
return copy
def PackTask(self):
@@ -56,7 +58,7 @@ class TestCase(object):
assert self.id is not None
return [self.suitename(), self.path, self.variant, self.flags,
self.override_shell, list(self.outcomes or []),
- self.id]
+ self.id, self.env]
@staticmethod
def UnpackTask(task):
@@ -66,6 +68,7 @@ class TestCase(object):
test.outcomes = frozenset(task[5])
test.id = task[6]
test.run = 1
+ test.env = task[7]
return test
def SetSuiteObject(self, suites):
« no previous file with comments | « tools/testrunner/local/execution.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698