示例#1
0
 def VariantFlags(self, testcase, default_flags):
     if testcase.outcomes and statusfile.OnlyStandardVariant(
             testcase.outcomes):
         return [[]]
     # Both --nocrankshaft and --stressopt are very slow. Add TF but without
     # always opt to match the way the benchmarks are run for performance
     # testing.
     return [[], ["--turbo-filter=*"]]
示例#2
0
 def FilterVariantsByTest(self, test):
     outcomes = self.suite.GetStatusFileOutcomes(test.name, test.variant)
     if statusfile.OnlyStandardVariant(outcomes):
         return self.standard_variant
     return self.fast_variants
示例#3
0
 def FilterVariantsByTest(self, testcase):
     if testcase.outcomes and statusfile.OnlyStandardVariant(
             testcase.outcomes):
         return self.standard_variant
     return self.fast_variants
示例#4
0
文件: testcfg.py 项目: ypbnv/v8
 def FilterVariantsByTest(self, testcase):
     outcomes = self.suite.GetOutcomesForTestCase(testcase)
     if outcomes and statusfile.OnlyStandardVariant(outcomes):
         return self.standard_variant
     return self.fast_variants