DescriptionFixing how --gtest-filter-file handles negative patterns.
When authoring the README.md file in https://crrev.com/2472153002, I've
noticed that test_runner.py doesn't properly handle negative patterns
from the filter files. This CL fixes this and adds some unit tests
around this. The changes are based on the understanding of the desired
format of --gtest_filter that is based on:
1) the format used in chromium.fyi.json prior to introducing
testing/buildbot/filters directory - for example notice multiple
patterns, but only a single '-' character in:
https://chromium.googlesource.com/chromium/src/+/e443d6647254776e868dce6a596459fdf75ebad9/testing/buildbot/chromium.fyi.json#5690
2) gtest documentation at
https://github.com/google/googletest/blob/master/googletest/docs/AdvancedGuide.md#running-a-subset-of-the-tests
BUG=654569
Committed: https://crrev.com/1f3f8c66d6efc3e759550eaa899757fc34307cfc
Cr-Commit-Position: refs/heads/master@{#430634}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Converted a comment into a doc string. #
Depends on Patchset: Messages
Total messages: 23 (16 generated)
|