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

Side by Side Diff: Tools/Scripts/webkitpy/layout_tests/port/port_testcase.py

Issue 1294603002: Add run-webkit-tests support and generate baselines for win8 and win10. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 4 months 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 | Annotate | Revision Log
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 277 matching lines...) Expand 10 before | Expand all | Expand 10 after
288 TestConfiguration('mountainlion', 'x86', 'debug'), 288 TestConfiguration('mountainlion', 'x86', 'debug'),
289 TestConfiguration('mountainlion', 'x86', 'release'), 289 TestConfiguration('mountainlion', 'x86', 'release'),
290 TestConfiguration('mavericks', 'x86', 'debug'), 290 TestConfiguration('mavericks', 'x86', 'debug'),
291 TestConfiguration('mavericks', 'x86', 'release'), 291 TestConfiguration('mavericks', 'x86', 'release'),
292 TestConfiguration('yosemite', 'x86', 'debug'), 292 TestConfiguration('yosemite', 'x86', 'debug'),
293 TestConfiguration('yosemite', 'x86', 'release'), 293 TestConfiguration('yosemite', 'x86', 'release'),
294 TestConfiguration('xp', 'x86', 'debug'), 294 TestConfiguration('xp', 'x86', 'debug'),
295 TestConfiguration('xp', 'x86', 'release'), 295 TestConfiguration('xp', 'x86', 'release'),
296 TestConfiguration('win7', 'x86', 'debug'), 296 TestConfiguration('win7', 'x86', 'debug'),
297 TestConfiguration('win7', 'x86', 'release'), 297 TestConfiguration('win7', 'x86', 'release'),
298 TestConfiguration('win8', 'x86', 'debug'),
299 TestConfiguration('win8', 'x86', 'release'),
300 TestConfiguration('win8', 'x86_64', 'debug'),
301 TestConfiguration('win8', 'x86_64', 'release'),
302 TestConfiguration('win10', 'x86', 'debug'),
303 TestConfiguration('win10', 'x86', 'release'),
298 TestConfiguration('linux32', 'x86', 'debug'), 304 TestConfiguration('linux32', 'x86', 'debug'),
299 TestConfiguration('linux32', 'x86', 'release'), 305 TestConfiguration('linux32', 'x86', 'release'),
300 TestConfiguration('precise', 'x86_64', 'debug'), 306 TestConfiguration('precise', 'x86_64', 'debug'),
301 TestConfiguration('precise', 'x86_64', 'release'), 307 TestConfiguration('precise', 'x86_64', 'release'),
302 TestConfiguration('trusty', 'x86_64', 'debug'), 308 TestConfiguration('trusty', 'x86_64', 'debug'),
303 TestConfiguration('trusty', 'x86_64', 'release'), 309 TestConfiguration('trusty', 'x86_64', 'release'),
304 TestConfiguration('icecreamsandwich', 'x86', 'debug'), 310 TestConfiguration('icecreamsandwich', 'x86', 'debug'),
305 TestConfiguration('icecreamsandwich', 'x86', 'release'), 311 TestConfiguration('icecreamsandwich', 'x86', 'release'),
306 ])) 312 ]))
307 def test_get_crash_log(self): 313 def test_get_crash_log(self):
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
466 def test_additional_platform_directory(self): 472 def test_additional_platform_directory(self):
467 port = self.make_port(options=MockOptions(additional_platform_directory= ['/tmp/foo'])) 473 port = self.make_port(options=MockOptions(additional_platform_directory= ['/tmp/foo']))
468 self.assertEqual(port.baseline_search_path()[0], '/tmp/foo') 474 self.assertEqual(port.baseline_search_path()[0], '/tmp/foo')
469 475
470 def test_virtual_test_suites(self): 476 def test_virtual_test_suites(self):
471 # We test that we can load the real LayoutTests/VirtualTestSuites file p roperly, so we 477 # We test that we can load the real LayoutTests/VirtualTestSuites file p roperly, so we
472 # use a real SystemHost(). We don't care what virtual_test_suites() retu rns as long 478 # use a real SystemHost(). We don't care what virtual_test_suites() retu rns as long
473 # as it is iterable. 479 # as it is iterable.
474 port = self.make_port(host=SystemHost(), port_name=self.full_port_name) 480 port = self.make_port(host=SystemHost(), port_name=self.full_port_name)
475 self.assertTrue(isinstance(port.virtual_test_suites(), collections.Itera ble)) 481 self.assertTrue(isinstance(port.virtual_test_suites(), collections.Itera ble))
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698