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

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

Issue 735723006: Conditional flags for tests - set JS stack size for simulators. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 6 years, 1 month 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
« test/mozilla/mozilla.status ('K') | « tools/run-tests.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/testrunner/local/testsuite.py
diff --git a/tools/testrunner/local/testsuite.py b/tools/testrunner/local/testsuite.py
index 6ff97b34b9e549162f8bebf2bdd23225782ae00e..555c1309be2a21f08c8a6ad47c61fb9a0e90ebad 100644
--- a/tools/testrunner/local/testsuite.py
+++ b/tools/testrunner/local/testsuite.py
@@ -136,6 +136,11 @@ class TestSuite(object):
t.outcomes = self.rules[testname]
if statusfile.DoSkip(t.outcomes):
continue # Don't add skipped tests to |filtered|.
+ for outc in t.outcomes:
Jakob Kummerow 2014/11/19 13:57:15 nit: no reason to abbreviate, s/outc/outcome/.
balazs.kilvady 2014/11/19 16:30:41 Done.
+ assert type(outc) == str
Jakob Kummerow 2014/11/19 13:57:15 Let's drop the assert (this code is fairly perform
balazs.kilvady 2014/11/19 16:30:41 Done.
+ if outc.startswith('Flags: '):
+ (tmp0, tmp1, flags) = outc.partition(':')
Jakob Kummerow 2014/11/19 13:57:15 Suggestion: simplify the body of the if-block to:
balazs.kilvady 2014/11/19 16:30:41 Done.
+ t.flags += flags.split()
flaky = statusfile.IsFlaky(t.outcomes)
slow = statusfile.IsSlow(t.outcomes)
pass_fail = statusfile.IsPassOrFail(t.outcomes)
« test/mozilla/mozilla.status ('K') | « tools/run-tests.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698