autotest_unused: Ignore a few more filepaths

A few filepaths really need to be ignored when grepping:
* BeautifulSoup.py, a clone of an upstream repository
* *_functional_test.py, a suffix used for testing code

This CL always ignores BeautifulSoup, ignores _functional_test.py when
ignoring unittests, and sets up a reusable framework for ignoring other
globs in the future.

BUG=None
TEST=autotest_unused.py -d site_utils

Change-Id: I1bd36863acd1f2d1767348c82ca6b77649b7d6f1
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crostestutils/+/2519198
Tested-by: Greg Edelston <gredelston@google.com>
Auto-Submit: Greg Edelston <gredelston@google.com>
Reviewed-by: Derek Beckett <dbeckett@chromium.org>
Reviewed-by: Kevin Shelton <kmshelton@chromium.org>
Commit-Queue: Greg Edelston <gredelston@google.com>
1 file changed