Commit 7bbda48e authored by Michael Thiessen's avatar Michael Thiessen Committed by Commit Bot

Make autotest java test filter more robust

Fix autotest so autotest.py -C <dir> /CurrentPageVerifierTest.java won't
run tests for other classes like WebApkCurrentPageVerifierTest

Change-Id: I0370b507ac21009676d9e27c109b90d7223b7ab9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2419267
Auto-Submit: Michael Thiessen <mthiesse@chromium.org>
Commit-Queue: Andrew Grieve <agrieve@chromium.org>
Reviewed-by: default avatarAndrew Grieve <agrieve@chromium.org>
Cr-Commit-Position: refs/heads/master@{#808645}
parent ce9e0e22
...@@ -330,7 +330,7 @@ def BuildCppTestFilter(filenames, line): ...@@ -330,7 +330,7 @@ def BuildCppTestFilter(filenames, line):
def BuildJavaTestFilter(filenames): def BuildJavaTestFilter(filenames):
return ':'.join('*{}*'.format(os.path.splitext(os.path.basename(f))[0]) return ':'.join('*.{}*'.format(os.path.splitext(os.path.basename(f))[0])
for f in filenames) for f in filenames)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment