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

Unified Diff: tools/testrunner/local/statusfile.py

Issue 27704002: Make it possible to run a test only in the standard variant. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 2 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
Index: tools/testrunner/local/statusfile.py
diff --git a/tools/testrunner/local/statusfile.py b/tools/testrunner/local/statusfile.py
index cc1e52461538bec40f0656350365d4a171b7b0e4..7a57ec35df15b3f659d1aaacadc8b08aa0138438 100644
--- a/tools/testrunner/local/statusfile.py
+++ b/tools/testrunner/local/statusfile.py
@@ -35,6 +35,7 @@ TIMEOUT = "TIMEOUT"
CRASH = "CRASH"
SLOW = "SLOW"
FLAKY = "FLAKY"
+ONLY_STANDARD_VARIANT = "ONLY_STANDARD_VARIANT"
Jakob Kummerow 2013/10/17 13:03:42 Suggestion for a shorter name: NO_VARIANTS. But I
# These are just for the status files and are mapped below in DEFS:
FAIL_OK = "FAIL_OK"
PASS_OR_FAIL = "PASS_OR_FAIL"
@@ -43,7 +44,7 @@ ALWAYS = "ALWAYS"
KEYWORDS = {}
for key in [SKIP, FAIL, PASS, OKAY, TIMEOUT, CRASH, SLOW, FLAKY, FAIL_OK,
- PASS_OR_FAIL, ALWAYS]:
+ PASS_OR_FAIL, ALWAYS, ONLY_STANDARD_VARIANT]:
Jakob Kummerow 2013/10/17 13:03:42 nit: please match the order of the definitions abo
KEYWORDS[key] = key
DEFS = {FAIL_OK: [FAIL, OKAY],
@@ -60,6 +61,10 @@ def DoSkip(outcomes):
return SKIP in outcomes or SLOW in outcomes
+def OnlyStandardVariant(outcomes):
+ return ONLY_STANDARD_VARIANT in outcomes
+
+
def IsFlaky(outcomes):
return FLAKY in outcomes

Powered by Google App Engine
This is Rietveld 408576698