def createFileComparison(self, test, stem, standardFile, tmpFile): if stem in self.getPerformanceStems(test): if tmpFile: return performance.PerformanceFileComparison(test, stem, standardFile, tmpFile) elif not test.app.executingOnPerformanceMachine(test, stem): # Don't care if performance is missing if we aren't on performance machines return None return FileComparison(test, stem, standardFile, tmpFile, testInProgress=0)
def createFileComparison(self, test, stem, standardFile, tmpFile): return FileComparison(test, stem, standardFile, tmpFile, testInProgress=1)