Changeset 95247 in webkit


Ignore:
Timestamp:
Sep 15, 2011 5:39:34 PM (13 years ago)
Author:
commit-queue@webkit.org
Message:

Python version check is confusing in test-webkitpy
https://bugs.webkit.org/show_bug.cgi?id=68004

Patch by Tom Zakrajsek <tomz@codeaurora.org> on 2011-09-15
Reviewed by Adam Barth.

  • Scripts/test-webkitpy:
Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r95238 r95247  
     12011-09-15  Tom Zakrajsek  <tomz@codeaurora.org>
     2
     3        Python version check is confusing in test-webkitpy
     4        https://bugs.webkit.org/show_bug.cgi?id=68004
     5
     6        Reviewed by Adam Barth.
     7
     8        * Scripts/test-webkitpy:
     9
    1102011-09-15  Eric Seidel  <eric@webkit.org>
    211
  • trunk/Tools/Scripts/test-webkitpy

    r75880 r95247  
    217217    versioning.check_version(log=_log)
    218218
    219     (comparison, current_version, minimum_version) = \
     219    (comparison, current_version, expected_version) = \
    220220        versioning.compare_version()
    221221
    222     if comparison > 0:
    223         # Then the current version is later than the minimum version.
    224         message = ("You are testing webkitpy with a Python version (%s) "
    225                    "higher than the minimum version (%s) it was meant "
    226                    "to support." % (current_version, minimum_version))
     222    if comparison != 0:
     223        # Then the current version is not what we expect.
     224        message = ("You are testing webkitpy with Python version (%s) "
     225                   "instead of version (%s) which we support.  Please verify "
     226                   "changes against version (%s)" % (current_version, expected_version, expected_version))
    227227        _log.warn(message)
    228 
    229228
    230229def _path_from_webkit_root(*components):
Note: See TracChangeset for help on using the changeset viewer.