• Robert Ma's avatar
    Reland "[blinkpy] Find manifest items for tests by URL" · a244e759
    Robert Ma authored
    This is a reland of 6f0b5d97
    
    A baseline is added for a test that no longer (always) times out because
    of this fix. The test has a few failing subtests so a baseline is needed.
    
    Original change's description:
    > [blinkpy] Find manifest items for tests by URL
    >
    > When running WPT in web_tests, test names are more like URLs instead of
    > file paths (to be precise, the part of a test name after external/wpt is
    > a WPT URL), because WPT can generate multiple tests (variations) for a
    > single test file (e.g. .any.js, ?run_type).
    >
    > Therefore, when asking questions like "is a test slow?", we need to find
    > the manifest item for that test by URL instead of by file path; whereas
    > if we want to know if a file in external/wpt is a test file, we find
    > the manifest item(s) for that file by file path.
    >
    > This CL separates the two types of manifest queries, and chooses the
    > correct one for each call site. Besides, unit tests are improved to
    > cover the WPT variations (.any.js & ?run_type).
    >
    > Bug: 831975, 800570
    > Change-Id: I230d5ec7df06b7df1387da1b93788d6cae55d153
    > Reviewed-on: https://chromium-review.googlesource.com/1043160
    > Commit-Queue: Robert Ma <robertma@chromium.org>
    > Reviewed-by: Quinten Yearsley <qyearsley@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#556043}
    
    Bug: 831975, 800570
    Change-Id: I65e818473153b134af8dc78677b1b678d196aada
    Reviewed-on: https://chromium-review.googlesource.com/1044586Reviewed-by: default avatarQuinten Yearsley <qyearsley@chromium.org>
    Commit-Queue: Robert Ma <robertma@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#556126}
    a244e759
wpt_manifest.py 6.8 KB