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

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

Issue 1379493002: Use chromium revision instead of blink svn revision when rebaselining layout tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove multiple repo support Created 5 years, 2 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 404 matching lines...) Expand 10 before | Expand all | Expand 10 after
415 'test-mac-snowleopard': 'snowleopard', 415 'test-mac-snowleopard': 'snowleopard',
416 'test-linux-x86': 'linux32', 416 'test-linux-x86': 'linux32',
417 'test-linux-precise': 'precise', 417 'test-linux-precise': 'precise',
418 'test-linux-trusty': 'trusty', 418 'test-linux-trusty': 'trusty',
419 } 419 }
420 self._version = version_map[self._name] 420 self._version = version_map[self._name]
421 421
422 if self._operating_system == 'linux' and self._version != 'linux32': 422 if self._operating_system == 'linux' and self._version != 'linux32':
423 self._architecture = 'x86_64' 423 self._architecture = 'x86_64'
424 424
425 def repository_paths(self):
426 """Returns a list of (repository_name, repository_path) tuples of its de pending code base."""
427 # FIXME: We override this just to keep the perf tests happy.
428 return [('blink', self.layout_tests_dir())]
429
430 def buildbot_archives_baselines(self): 425 def buildbot_archives_baselines(self):
431 return self._name != 'test-win-xp' 426 return self._name != 'test-win-xp'
432 427
433 def default_pixel_tests(self): 428 def default_pixel_tests(self):
434 return True 429 return True
435 430
436 def _path_to_driver(self): 431 def _path_to_driver(self):
437 # This routine shouldn't normally be called, but it is called by 432 # This routine shouldn't normally be called, but it is called by
438 # the mock_drt Driver. We return something, but make sure it's useless. 433 # the mock_drt Driver. We return something, but make sure it's useless.
439 return 'MOCK _path_to_driver' 434 return 'MOCK _path_to_driver'
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
657 else: 652 else:
658 image = test.actual_image 653 image = test.actual_image
659 return DriverOutput(actual_text, image, test.actual_checksum, audio, 654 return DriverOutput(actual_text, image, test.actual_checksum, audio,
660 crash=(crash or web_process_crash), crashed_process_name=crashed_pro cess_name, 655 crash=(crash or web_process_crash), crashed_process_name=crashed_pro cess_name,
661 crashed_pid=crashed_pid, crash_log=crash_log, 656 crashed_pid=crashed_pid, crash_log=crash_log,
662 test_time=time.time() - start_time, timeout=test.timeout, error=test .error, pid=self.pid, 657 test_time=time.time() - start_time, timeout=test.timeout, error=test .error, pid=self.pid,
663 leak=test.leak) 658 leak=test.leak)
664 659
665 def stop(self): 660 def stop(self):
666 self.started = False 661 self.started = False
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698