Changeset 138058 in webkit


Ignore:
Timestamp:
Dec 18, 2012 1:02:45 PM (11 years ago)
Author:
rniwa@webkit.org
Message:

Build fix after r138045.

  • Scripts/webkitpy/performance_tests/perftestsrunner.py:

(PerfTestsRunner._collect_tests): Use relative_path. We skip only when this path
is not explicitly specified. The condition was backwards but never matched so we
always ran the test regardless of whether it's listed in the skipped list or not.

  • Scripts/webkitpy/performance_tests/perftestsrunner_unittest.py:

(test_collect_tests_with_ignored_skipped_list): Renamed so that it actually runs.

Location:
trunk/Tools
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r138050 r138058  
     12012-12-18  Ryosuke Niwa  <rniwa@webkit.org>
     2
     3        Build fix after r138045.
     4
     5        * Scripts/webkitpy/performance_tests/perftestsrunner.py:
     6        (PerfTestsRunner._collect_tests): Use relative_path. We skip only when this path
     7        is not explicitly specified. The condition was backwards but never matched so we
     8        always ran the test regardless of whether it's listed in the skipped list or not.
     9        * Scripts/webkitpy/performance_tests/perftestsrunner_unittest.py:
     10        (test_collect_tests_with_ignored_skipped_list): Renamed so that it actually runs.
     11
    1122012-12-18  Emil A Eklund  <eae@chromium.org>
    213
  • trunk/Tools/Scripts/webkitpy/performance_tests/perftestsrunner.py

    r138045 r138058  
    154154        for path in test_files:
    155155            relative_path = filesystem.relpath(path, self._base_path).replace('\\', '/')
    156             if self._options.use_skipped_list and self._port.skips_perf_test(relative_path) and filesystem.normpath(path) in paths:
     156            if self._options.use_skipped_list and self._port.skips_perf_test(relative_path) and filesystem.normpath(relative_path) not in paths:
    157157                continue
    158158            test = PerfTestFactory.create_perf_test(self._port, relative_path, path)
  • trunk/Tools/Scripts/webkitpy/performance_tests/perftestsrunner_unittest.py

    r138045 r138058  
    581581            ['SkippedSuite/Test1.html', 'Suite/SkippedTest1.html', 'Suite/Test1.html'])
    582582
    583     def test_collect_tests_with_skipped_list(self):
     583    def test_collect_tests_with_ignored_skipped_list(self):
    584584        runner, port = self.create_runner(args=['--force'])
    585585
Note: See TracChangeset for help on using the changeset viewer.