Index: tools/testrunner/local/testsuite.py |
diff --git a/tools/testrunner/local/testsuite.py b/tools/testrunner/local/testsuite.py |
index a152b6dd7e5dcbf6b440c26788cacaac5cb4dbbf..7fea13a4ae3683a19fadab9475ecde9621852ac4 100644 |
--- a/tools/testrunner/local/testsuite.py |
+++ b/tools/testrunner/local/testsuite.py |
@@ -93,7 +93,10 @@ class TestSuite(object): |
if testcase.outcomes and statusfile.OnlyStandardVariant(testcase.outcomes): |
return [[]] |
if testcase.outcomes and statusfile.OnlyFastVariants(testcase.outcomes): |
- return filter(lambda flags: flags in FAST_VARIANT_FLAGS, default_flags) |
+ # FAST_VARIANTS implies no --always-opt. |
+ return [ filter(lambda flag: flag != "--always-opt", f) |
+ for f in filter(lambda flags: flags in FAST_VARIANT_FLAGS, |
+ default_flags) ] |
return default_flags |
def DownloadData(self): |