Changeset 106404 in webkit


Ignore:
Timestamp:
Jan 31, 2012 3:11:13 PM (12 years ago)
Author:
commit-queue@webkit.org
Message:

Fix the update_webgl_conformance_tests.py script in order to enable it
to detect the SCM being used correctly.
https://bugs.webkit.org/show_bug.cgi?id=77462

Patch by Ehsan Akhgari <ehsan.akhgari@gmail.com> on 2012-01-31
Reviewed by Kenneth Russell.

  • Scripts/webkitpy/to_be_moved/update_webgl_conformance_tests.py:

(default_out_dir):

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r106396 r106404  
     12012-01-31  Ehsan Akhgari  <ehsan.akhgari@gmail.com>
     2
     3        Fix the update_webgl_conformance_tests.py script in order to enable it
     4        to detect the SCM being used correctly.
     5        https://bugs.webkit.org/show_bug.cgi?id=77462
     6
     7        Reviewed by Kenneth Russell.
     8
     9        * Scripts/webkitpy/to_be_moved/update_webgl_conformance_tests.py:
     10        (default_out_dir):
     11
    1122012-01-31  Eric Seidel  <eric@webkit.org>
    213
  • trunk/Tools/Scripts/webkitpy/to_be_moved/update_webgl_conformance_tests.py

    r90534 r106404  
    3333import sys
    3434from webkitpy.common.checkout import scm
     35from webkitpy.common.system.filesystem import FileSystem
     36from webkitpy.common.system.executive import Executive
    3537
    3638
     
    9597
    9698def default_out_dir():
    97     current_scm = scm.detect_scm_system(os.path.dirname(sys.argv[0]))
     99    detector = scm.SCMDetector(FileSystem(), Executive())
     100    current_scm = detector.detect_scm_system(os.path.dirname(sys.argv[0]))
    98101    if not current_scm:
    99102        return os.getcwd()
Note: See TracChangeset for help on using the changeset viewer.