Changeset 57847 in webkit


Ignore:
Timestamp:
Apr 19, 2010 3:09:33 PM (14 years ago)
Author:
dpranke@chromium.org
Message:

2010-04-19 Dirk Pranke <dpranke@chromium.org>

Reviewed by Eric Seidel.

Submit a better workaround for r57806 than the one in r57831 - log
an error and exit if you try to run new-run-webkit-tests with --use-drt
on Windows.

https://bugs.webkit.org/show_bug.cgi?id=37822

  • Scripts/webkitpy/layout_tests/port/chromium.py:
Location:
trunk/WebKitTools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKitTools/ChangeLog

    r57846 r57847  
     12010-04-19  Dirk Pranke  <dpranke@chromium.org>
     2
     3        Reviewed by Eric Seidel.
     4
     5        Submit a better workaround for r57806 than the one in r57831 - log
     6        an error and exit if you try to run new-run-webkit-tests with --use-drt
     7        on Windows.
     8
     9        https://bugs.webkit.org/show_bug.cgi?id=37822
     10
     11        * Scripts/webkitpy/layout_tests/port/chromium.py:
     12
    1132010-04-19  Jesus Sanchez-Palencia  <jesus@webkit.org>
    214
  • trunk/WebKitTools/Scripts/webkitpy/layout_tests/port/chromium.py

    r57831 r57847  
    8282        self._chromium_base_dir = None
    8383
    84         # FIXME: see comment above re: import webkit
    85         if sys.platform in ('win32', 'cygwin') and options:
    86             options.use_drt = False
    87 
    8884    def baseline_path(self):
    8985        return self._webkit_baseline_path(self._name)
     
    9187    def check_build(self, needs_http):
    9288        result = True
     89
     90        # FIXME: see comment above re: import webkit
     91        if (sys.platform in ('win32', 'cygwin') and self._options and
     92            hasattr(self._options, 'use_drt') and self._options.use_drt):
     93            _log.error('--use-drt is not supported on Windows yet')
     94            _log.error('')
     95            result = False
     96
    9397        dump_render_tree_binary_path = self._path_to_driver()
    9498        result = check_file_exists(dump_render_tree_binary_path,
    95                                    'test driver')
     99                                    'test driver') and result
    96100        if result:
    97             result = (self._check_driver_build_up_to_date(self._options.configuration)
    98                       and result)
     101            result = self._check_driver_build_up_to_date(
     102                self._options.configuration)
    99103        else:
    100104            _log.error('')
Note: See TracChangeset for help on using the changeset viewer.