Make multiple --isolated-script-test-filter args work for run_web_tests.
Previously run_web_tests implemented an overly simplistic variant of the test runner api documented in bit.ly/chromium-test-runner-api, in that it only supported a single occurrence of the flag, it didn't support negative (skip) filters, and it implemented it as if you had just listed the globs as positional arguments instead. This CL implements the full semantics of the flag, so that you can specify the arg multiple times, and negative (skip) filters work correctly. This is a non-backwards-compatible change, because it changes things such that we first filter by positional arguments and *then* apply the filters from --isolated-script-test-filter. However, it seems unlikely that anyone is using the combination of the two and so hopefully this will not break things. If it does, we'll need to update callers. BUG=994943 Change-Id: I7cc10c92364e145e84f3750f0c773b8ab9d371f3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1790432Reviewed-by:Rakib Hasan <rmhasan@google.com> Commit-Queue: Dirk Pranke <dpranke@chromium.org> Cr-Commit-Position: refs/heads/master@{#697404}
Showing
Please register or sign in to comment