| OLD | NEW |
| 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 24 matching lines...) Expand all Loading... |
| 35 import threading | 35 import threading |
| 36 import time | 36 import time |
| 37 import traceback | 37 import traceback |
| 38 import urllib | 38 import urllib |
| 39 import urllib2 | 39 import urllib2 |
| 40 | 40 |
| 41 from webkitpy.common.checkout.baselineoptimizer import BaselineOptimizer | 41 from webkitpy.common.checkout.baselineoptimizer import BaselineOptimizer |
| 42 from webkitpy.common.memoized import memoized | 42 from webkitpy.common.memoized import memoized |
| 43 from webkitpy.common.system.executive import ScriptError | 43 from webkitpy.common.system.executive import ScriptError |
| 44 from webkitpy.layout_tests.controllers.test_result_writer import TestResultWrite
r | 44 from webkitpy.layout_tests.controllers.test_result_writer import TestResultWrite
r |
| 45 from webkitpy.layout_tests.models import test_failures | |
| 46 from webkitpy.layout_tests.models.test_expectations import TestExpectations, BAS
ELINE_SUFFIX_LIST, SKIP | 45 from webkitpy.layout_tests.models.test_expectations import TestExpectations, BAS
ELINE_SUFFIX_LIST, SKIP |
| 47 from webkitpy.layout_tests.port import builders | 46 from webkitpy.layout_tests.port import builders |
| 48 from webkitpy.layout_tests.port import factory | 47 from webkitpy.layout_tests.port import factory |
| 49 from webkitpy.tool.multicommandtool import AbstractDeclarativeCommand | 48 from webkitpy.tool.multicommandtool import AbstractDeclarativeCommand |
| 50 | 49 |
| 51 | 50 |
| 52 _log = logging.getLogger(__name__) | 51 _log = logging.getLogger(__name__) |
| 53 | 52 |
| 54 | 53 |
| 55 # FIXME: Should TestResultWriter know how to compute this string? | 54 # FIXME: Should TestResultWriter know how to compute this string? |
| (...skipping 951 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1007 self._tool.scm().checkout_branch(old_branch_name_or_ref) | 1006 self._tool.scm().checkout_branch(old_branch_name_or_ref) |
| 1008 else: | 1007 else: |
| 1009 self._log_queue.put(self.QUIT_LOG) | 1008 self._log_queue.put(self.QUIT_LOG) |
| 1010 log_thread.join() | 1009 log_thread.join() |
| 1011 | 1010 |
| 1012 def execute(self, options, args, tool): | 1011 def execute(self, options, args, tool): |
| 1013 self._verbose = options.verbose | 1012 self._verbose = options.verbose |
| 1014 while True: | 1013 while True: |
| 1015 self._do_one_rebaseline() | 1014 self._do_one_rebaseline() |
| 1016 time.sleep(self.SLEEP_TIME_IN_SECONDS) | 1015 time.sleep(self.SLEEP_TIME_IN_SECONDS) |
| OLD | NEW |