⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 99381 in webkit


Ignore:
Timestamp:
Nov 6, 2011, 1:01:45 PM (15 years ago)
Author:
eric@webkit.org
Message:

Clarify how the symbol and runtime-feature based test exclusion works and cleanup the code a bit
https://bugs.webkit.org/show_bug.cgi?id=66078

Unreviewed. Add an assert about the type of "args"
to our Executive Mocks and fix a piece of code
from this patch which was hitting that assert
when executing for real.

  • Scripts/webkitpy/common/system/executive_mock.py:
  • Scripts/webkitpy/layout_tests/port/webkit.py:
Location:
trunk/Tools
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r99379 r99381  
     12011-11-06  Eric Seidel  <eric@webkit.org>
     2
     3        Clarify how the symbol and runtime-feature based test exclusion works and cleanup the code a bit
     4        https://bugs.webkit.org/show_bug.cgi?id=66078
     5
     6        Unreviewed.  Add an assert about the type of "args"
     7        to our Executive Mocks and fix a piece of code
     8        from this patch which was hitting that assert
     9        when executing for real.
     10
     11        * Scripts/webkitpy/common/system/executive_mock.py:
     12        * Scripts/webkitpy/layout_tests/port/webkit.py:
     13
    1142011-11-06  Eric Seidel  <eric@webkit.org>
    215
  • trunk/Tools/Scripts/webkitpy/common/system/executive_mock.py

    r99140 r99381  
    6060                    return_stderr=True,
    6161                    decode_output=False):
     62        assert(isinstance(args, list) or isinstance(args, tuple))
    6263        if self._should_log:
    6364            log("MOCK run_command: %s, cwd=%s" % (args, cwd))
     
    9394                    return_stderr=True,
    9495                    decode_output=False):
     96        assert(isinstance(args, list) or isinstance(args, tuple))
    9597        if self._exception:
    9698            raise self._exception
  • trunk/Tools/Scripts/webkitpy/layout_tests/port/webkit.py

    r99377 r99381  
    263263            return None
    264264        try:
    265             return self._executive.run_command('nm', webcore_library_path, error_handler=Executive.ignore_error)
     265            return self._executive.run_command(['nm', webcore_library_path], error_handler=Executive.ignore_error)
    266266        except OSError, e:
    267267            _log.warn("Failed to run nm: %s.  Can't determine WebCore supported features." % e)
Note: See TracChangeset for help on using the changeset viewer.