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

Side by Side Diff: third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/test.py

Issue 2721603003: Remove Port.default_pixel_tests. (Closed)
Patch Set: Remove Port.default_pixel_tests. Created 3 years, 9 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
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 409 matching lines...) Expand 10 before | Expand all | Expand 10 after
420 self.all_build_types = ('debug', 'release') 420 self.all_build_types = ('debug', 'release')
421 421
422 # To avoid surprises when introducing new macros, these are 422 # To avoid surprises when introducing new macros, these are
423 # intentionally fixed in time. 423 # intentionally fixed in time.
424 self.configuration_specifier_macros_dict = { 424 self.configuration_specifier_macros_dict = {
425 'mac': ['mac10.10', 'mac10.11'], 425 'mac': ['mac10.10', 'mac10.11'],
426 'win': ['win7', 'win10'], 426 'win': ['win7', 'win10'],
427 'linux': ['precise', 'trusty'] 427 'linux': ['precise', 'trusty']
428 } 428 }
429 429
430 def default_pixel_tests(self): 430 def buildbot_archives_baselines(self):
431 return True 431 return self._name != 'test-win-win7'
432 432
433 def _path_to_driver(self): 433 def _path_to_driver(self):
434 # This routine shouldn't normally be called, but it is called by 434 # This routine shouldn't normally be called, but it is called by
435 # the mock_drt Driver. We return something, but make sure it's useless. 435 # the mock_drt Driver. We return something, but make sure it's useless.
436 return 'MOCK _path_to_driver' 436 return 'MOCK _path_to_driver'
437 437
438 def default_child_processes(self): 438 def default_child_processes(self):
439 return 1 439 return 1
440 440
441 def check_build(self, needs_http, printer): 441 def check_build(self, needs_http, printer):
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
629 else: 629 else:
630 image = test.actual_image 630 image = test.actual_image
631 return DriverOutput(actual_text, image, test.actual_checksum, audio, 631 return DriverOutput(actual_text, image, test.actual_checksum, audio,
632 crash=(crash or web_process_crash), crashed_process_ name=crashed_process_name, 632 crash=(crash or web_process_crash), crashed_process_ name=crashed_process_name,
633 crashed_pid=crashed_pid, crash_log=crash_log, 633 crashed_pid=crashed_pid, crash_log=crash_log,
634 test_time=time.time() - start_time, timeout=test.tim eout, error=test.error, pid=self.pid, 634 test_time=time.time() - start_time, timeout=test.tim eout, error=test.error, pid=self.pid,
635 leak=test.leak) 635 leak=test.leak)
636 636
637 def stop(self): 637 def stop(self):
638 self.started = False 638 self.started = False
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698