Changeset 129804 in webkit


Ignore:
Timestamp:
Sep 27, 2012 2:55:47 PM (12 years ago)
Author:
fmalita@chromium.org
Message:

[Perftest] PerfTestRunner exception when using nested git checkouts
https://bugs.webkit.org/show_bug.cgi?id=97796

Reviewed by Ryosuke Niwa.

In order to support separate Chromium vs. WebKit git trees, PerfTestsRunner needs to
instantiate per-repository SCM objects when collecting revision information.

  • Scripts/webkitpy/performance_tests/perftestsrunner.py:

(PerfTestsRunner._generate_results_dict):

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r129802 r129804  
     12012-09-27  Florin Malita  <fmalita@chromium.org>
     2
     3        [Perftest] PerfTestRunner exception when using nested git checkouts
     4        https://bugs.webkit.org/show_bug.cgi?id=97796
     5
     6        Reviewed by Ryosuke Niwa.
     7
     8        In order to support separate Chromium vs. WebKit git trees, PerfTestsRunner needs to
     9        instantiate per-repository SCM objects when collecting revision information.
     10
     11        * Scripts/webkitpy/performance_tests/perftestsrunner.py:
     12        (PerfTestsRunner._generate_results_dict):
     13
    1142012-09-27  Sudarsana Nagineni  <sudarsana.nagineni@intel.com>
    215
  • trunk/Tools/Scripts/webkitpy/performance_tests/perftestsrunner.py

    r129700 r129804  
    3737
    3838from webkitpy.common import find_files
     39from webkitpy.common.checkout.scm.detection import SCMDetector
    3940from webkitpy.common.host import Host
    4041from webkitpy.common.net.file_uploader import FileUploader
     
    206207            contents['description'] = description
    207208        for (name, path) in self._port.repository_paths():
    208             contents[name + '-revision'] = self._host.scm().svn_revision(path)
     209            scm = SCMDetector(self._host.filesystem, self._host.executive).detect_scm_system(path) or self._host.scm()
     210            contents[name + '-revision'] = scm.svn_revision(path)
    209211
    210212        # FIXME: Add --branch or auto-detect the branch we're in
Note: See TracChangeset for help on using the changeset viewer.