def execute(self, options, args, tool): self._baseline_optimizer = BaselineOptimizer(tool.scm(), tool.filesystem) self._port = factory.get("chromium-win-win7") # FIXME: This should be selectable. for test_name in map(self._to_test_name, test_files.find(self._port, args)): print "Optimizing %s." % test_name self._optimize_baseline(test_name)
def _tests(port, paths): if not paths: paths = [] if (port.name() != 'chromium-gpu-mac-leopard' and port.name() != 'chromium-gpu-cg-mac-leopard'): # Only run tests requiring accelerated compositing on platforms that # support it. # FIXME: we should add the above paths here as well but let's test # the waters with media first. paths += ['media'] if not port.name().startswith('chromium-gpu-cg-mac'): # Canvas is not yet accelerated on the Mac, so there's no point # in running the tests there. paths += ['fast/canvas', 'canvas/philip'] if not paths: # FIXME: This is a hack until we can turn of the webkit_gpu # tests on the bots. If paths is empty, test_files.find() # finds *everything*. However, we have to return something, # or NRWT thinks there's something wrong. So, we return a single # short directory. See https://bugs.webkit.org/show_bug.cgi?id=72498. paths = ['fast/html'] return set([port.relative_test_filename(f) for f in test_files.find(port, paths)])
def tests(self, paths): """Return the list of tests found.""" # FIXME: Should test_files.find() return normalized, relative test names? return set([ self.relative_test_filename(f) for f in test_files.find(self, paths) ])
def _tests(port, paths): if not paths: paths = ['compositing', 'platform/chromium/compositing'] if not port.name().startswith('chromium-gpu-mac'): # Canvas is not yet accelerated on the Mac, so there's no point # in running the tests there. paths += ['fast/canvas', 'canvas/philip'] return test_files.find(port, paths)
def execute(self, options, args, tool): self._baseline_optimizer = BaselineOptimizer(tool.scm(), tool.filesystem) self._port = factory.get( "chromium-win-win7") # FIXME: This should be selectable. for test_name in map(self._to_test_name, test_files.find(self._port, args)): self._analyze_baseline(test_name)
def _tests(port, paths): if not paths: paths = ['compositing', 'platform/chromium/compositing'] if not port.name().startswith('chromium-gpu-mac'): # Canvas is not yet accelerated on the Mac, so there's no point # in running the tests there. paths += ['fast/canvas', 'canvas/philip'] # invalidate_rect.html tests a bug in the compositor. # See https://bugs.webkit.org/show_bug.cgi?id=53117 paths += ['plugins/invalidate_rect.html'] return test_files.find(port, paths)
def _tests(port, paths): if not paths: paths = ['compositing', 'platform/chromium/compositing', 'media'] if not port.name().startswith('chromium-gpu-mac'): # Canvas is not yet accelerated on the Mac, so there's no point # in running the tests there. paths += ['fast/canvas', 'canvas/philip'] # invalidate_rect.html tests a bug in the compositor. # See https://bugs.webkit.org/show_bug.cgi?id=53117 paths += ['plugins/invalidate_rect.html'] return test_files.find(port, paths)
def tests(self, paths): """Return the list of tests found.""" # FIXME: Should test_files.find() return normalized, relative test names? return set([self.relative_test_filename(f) for f in test_files.find(self, paths)])
def execute(self, options, args, tool): self._baseline_optimizer = BaselineOptimizer(tool) self._port = tool.port_factory.get("chromium-win-win7") # FIXME: This should be selectable. for test_name in map(self._to_test_name, test_files.find(self._port, args)): self._analyze_baseline(test_name)