Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(356)

Side by Side Diff: sky/tools/webkitpy/layout_tests/port/base.py

Issue 797063002: Make reftests work for sky. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: address review comments Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « sky/tools/tester/tester.cc ('k') | sky/viewer/document_view.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (C) 2010 Google Inc. All rights reserved. 1 # Copyright (C) 2010 Google Inc. All rights reserved.
2 # 2 #
3 # Redistribution and use in source and binary forms, with or without 3 # Redistribution and use in source and binary forms, with or without
4 # modification, are permitted provided that the following conditions are 4 # modification, are permitted provided that the following conditions are
5 # met: 5 # met:
6 # 6 #
7 # * Redistributions of source code must retain the above copyright 7 # * Redistributions of source code must retain the above copyright
8 # notice, this list of conditions and the following disclaimer. 8 # notice, this list of conditions and the following disclaimer.
9 # * Redistributions in binary form must reproduce the above 9 # * Redistributions in binary form must reproduce the above
10 # copyright notice, this list of conditions and the following disclaimer 10 # copyright notice, this list of conditions and the following disclaimer
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 def buildbot_archives_baselines(self): 222 def buildbot_archives_baselines(self):
223 return True 223 return True
224 224
225 def additional_drt_flag(self): 225 def additional_drt_flag(self):
226 driver_name = self.driver_name() 226 driver_name = self.driver_name()
227 if driver_name == self.CONTENT_SHELL_NAME: 227 if driver_name == self.CONTENT_SHELL_NAME:
228 return ['--dump-render-tree'] 228 return ['--dump-render-tree']
229 if driver_name == self.MOJO_SHELL_NAME: 229 if driver_name == self.MOJO_SHELL_NAME:
230 return [ 230 return [
231 '--args-for=mojo:native_viewport_service --use-headless-config - -use-osmesa', 231 '--args-for=mojo:native_viewport_service --use-headless-config - -use-osmesa',
232 '--args-for=mojo:sky_viewer --testing',
232 '--content-handlers=text/sky,mojo:sky_viewer', 233 '--content-handlers=text/sky,mojo:sky_viewer',
233 '--url-mappings=mojo:window_manager=mojo:sky_tester', 234 '--url-mappings=mojo:window_manager=mojo:sky_tester',
234 'mojo:window_manager', 235 'mojo:window_manager',
235 ] 236 ]
236 return [] 237 return []
237 238
238 def supports_per_test_timeout(self): 239 def supports_per_test_timeout(self):
239 return False 240 return False
240 241
241 def default_pixel_tests(self): 242 def default_pixel_tests(self):
(...skipping 1530 matching lines...) Expand 10 before | Expand all | Expand 10 after
1772 1773
1773 class PhysicalTestSuite(object): 1774 class PhysicalTestSuite(object):
1774 def __init__(self, base, args): 1775 def __init__(self, base, args):
1775 self.name = base 1776 self.name = base
1776 self.base = base 1777 self.base = base
1777 self.args = args 1778 self.args = args
1778 self.tests = set() 1779 self.tests = set()
1779 1780
1780 def __repr__(self): 1781 def __repr__(self):
1781 return "PhysicalTestSuite('%s', '%s', %s)" % (self.name, self.base, self .args) 1782 return "PhysicalTestSuite('%s', '%s', %s)" % (self.name, self.base, self .args)
OLDNEW
« no previous file with comments | « sky/tools/tester/tester.cc ('k') | sky/viewer/document_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698