Changeset 172638 in webkit


Ignore:
Timestamp:
Aug 15, 2014 12:03:59 PM (10 years ago)
Author:
commit-queue@webkit.org
Message:

run-webkit-tests should skip 'support' directories
https://bugs.webkit.org/show_bug.cgi?id=135910

Patch by Rebecca Hauck <rhauck@adobe.com> on 2014-08-15
Reviewed by Bem Jones-Bey.

This patch adds the 'support' directory to the list
of dirs to skip when looking for runnable tests.
the W3C uses this name for support files, so tests
imported from the W3C will not work without this change
or without many edits.

  • Scripts/webkitpy/port/base.py:

(Port._real_tests):

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r172604 r172638  
     12014-08-15  Rebecca Hauck  <rhauck@adobe.com>
     2
     3        run-webkit-tests should skip 'support' directories
     4        https://bugs.webkit.org/show_bug.cgi?id=135910
     5
     6        Reviewed by Bem Jones-Bey.
     7       
     8        This patch adds the 'support' directory to the list
     9        of dirs to skip when looking for runnable tests.
     10        the W3C uses this name for support files, so tests
     11        imported from the W3C will not work without this change
     12        or without many edits.
     13
     14        * Scripts/webkitpy/port/base.py:
     15        (Port._real_tests):
     16
    1172014-08-14  Brent Fulgham  <bfulgham@apple.com>
    218
  • trunk/Tools/Scripts/webkitpy/port/base.py

    r171856 r172638  
    544544    def _real_tests(self, paths):
    545545        # When collecting test cases, skip these directories
    546         skipped_directories = set(['.svn', '_svn', 'resources', 'script-tests', 'reference', 'reftest'])
     546        skipped_directories = set(['.svn', '_svn', 'resources', 'support', 'script-tests', 'reference', 'reftest'])
    547547        files = find_files.find(self._filesystem, self.layout_tests_dir(), paths, skipped_directories, Port._is_test_file, self.test_key)
    548548        return [self.relative_test_filename(f) for f in files]
Note: See TracChangeset for help on using the changeset viewer.