commit | 7bbda48e1ff5f67cc7fea5ca5f70e08267fd2e25 | [log] [tgz] |
---|---|---|
author | Michael Thiessen <[email protected]> | Sat Sep 19 02:07:34 2020 |
committer | Commit Bot <[email protected]> | Sat Sep 19 02:07:34 2020 |
tree | 2fba642f6a745b9a0fa038ed50e41fe9abcc2793 | |
parent | ce9e0e22d9359f8e6201b2e745a7962f0d07ee80 [diff] [blame] |
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 <[email protected]> Commit-Queue: Andrew Grieve <[email protected]> Reviewed-by: Andrew Grieve <[email protected]> Cr-Commit-Position: refs/heads/master@{#808645}
diff --git a/tools/autotest.py b/tools/autotest.py index daf8d67..eb090d1 100755 --- a/tools/autotest.py +++ b/tools/autotest.py
@@ -330,7 +330,7 @@ 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)