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

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

Issue 2203013002: [test] Enable test status filtering by variant (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Nits Created 4 years, 4 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/variants.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 113c624a35d66d43cdc88e49058c7af7b30bb5bd..282321ccc1b98ed47cbc7ada757b8f77cbfbcab4 100644
--- a/tools/testrunner/objects/testcase.py
+++ b/tools/testrunner/objects/testcase.py
@@ -29,7 +29,7 @@
from . import output
class TestCase(object):
- def __init__(self, suite, path, variant='default', flags=None,
+ def __init__(self, suite, path, variant=None, flags=None,
override_shell=None):
self.suite = suite # TestSuite object
self.path = path # string, e.g. 'div-mod', 'test-api/foo'
@@ -108,3 +108,6 @@ class TestCase(object):
(self.suite.name, self.path, self.flags),
(other.suite.name, other.path, other.flags),
)
+
+ def __str__(self):
+ return "[%s/%s %s]" % (self.suite.name, self.path, self.flags)
« no previous file with comments | « tools/testrunner/local/variants.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698