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=*"]]
def FilterVariantsByTest(self, test): outcomes = self.suite.GetStatusFileOutcomes(test.name, test.variant) if statusfile.OnlyStandardVariant(outcomes): return self.standard_variant return self.fast_variants
def FilterVariantsByTest(self, testcase): if testcase.outcomes and statusfile.OnlyStandardVariant( testcase.outcomes): return self.standard_variant return self.fast_variants
def FilterVariantsByTest(self, testcase): outcomes = self.suite.GetOutcomesForTestCase(testcase) if outcomes and statusfile.OnlyStandardVariant(outcomes): return self.standard_variant return self.fast_variants