Index: tools/testrunner/local/statusfile.py |
diff --git a/tools/testrunner/local/statusfile.py b/tools/testrunner/local/statusfile.py |
index cc1e52461538bec40f0656350365d4a171b7b0e4..5f5533f483b0bdddd8d9a9ea60ec7ea5cc74453d 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" |
+NO_VARIANTS = "NO_VARIANTS" |
# 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]: |
+ NO_VARIANTS, PASS_OR_FAIL, ALWAYS]: |
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 NO_VARIANTS in outcomes |
+ |
+ |
def IsFlaky(outcomes): |
return FLAKY in outcomes |