Changeset 91023 in webkit
- Timestamp:
- Jul 14, 2011 12:32:00 PM (13 years ago)
- Location:
- trunk/Tools
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r91021 r91023 1 2011-07-14 Eric Seidel <eric@webkit.org> 2 3 NRWT doesn't store the svn revision in full_results.json on chromium-win 4 https://bugs.webkit.org/show_bug.cgi?id=64492 5 6 Reviewed by Ojan Vafai. 7 8 This should fix the bug. Unfortunately this code is currently 9 impossible to test since it's impossible to mock detect_scm_system at the 10 moment. I started re-writing scm.detection.py to be mockable, but decided that 11 was best left for another day. 12 13 * Scripts/webkitpy/layout_tests/controllers/manager.py: 14 * Scripts/webkitpy/layout_tests/port/base.py: 15 1 16 2011-07-14 Ojan Vafai <ojan@chromium.org> 2 17 -
trunk/Tools/Scripts/webkitpy/layout_tests/controllers/manager.py
r90977 r91023 210 210 results['has_pretty_patch'] = port_obj.pretty_patch_available() 211 211 try: 212 results['revision'] = scm.default_scm().head_svn_revision()212 results['revision'] = port_object.webkit_scm().head_svn_revision() 213 213 except Exception, e: 214 214 _log.warn("Failed to determine svn revision for checkout (cwd: %s), leaving 'revision' key blank in full_results.json.\n%s" % (port_obj._filesystem.getcwd(), e)) -
trunk/Tools/Scripts/webkitpy/layout_tests/port/base.py
r90810 r91023 38 38 import os 39 39 40 from webkitpy.common.memoized import memoized 40 41 from webkitpy.common.net.testoutputset import AggregateTestOutputSet 42 41 43 42 44 # Handle Python < 2.6 where multiprocessing isn't available. … … 60 62 61 63 _log = logutils.get_logger(__file__) 64 62 65 63 66 class DummyOptions(object): … … 598 601 WebKit source tree and the list of path components in |*comps|.""" 599 602 return self._config.path_from_webkit_base(*comps) 603 604 @memoized 605 def webkit_scm(self): 606 # On the chromium bots, the cwd is the root of the chromium checkout. 607 # self._config.webkit_base_dir() knows where the webkit root is, no other 608 # object in NRWT seems to keep an SCM around. (Unlike webkit-patch where it's on the Tool/Host object.) 609 # FIXME: We should be able to get the SCM from somewhere else. 610 return scm.detect_scm_system(self._config.webkit_base_dir()) 600 611 601 612 def path_to_test_expectations_file(self):
Note: See TracChangeset
for help on using the changeset viewer.