build: Remove references to blacklist in CrOS test runner.
R=jbudorick Change-Id: I2d8c84a4dba8f022450c5ac8e6d094667c4e4fba Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1872154 Auto-Submit: Ben Pastene <bpastene@chromium.org> Reviewed-by: John Budorick <jbudorick@chromium.org> Commit-Queue: Ben Pastene <bpastene@chromium.org> Cr-Original-Commit-Position: refs/heads/master@{#707863} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: a135a52d9be72a01097600f41640b409b2a3d471
This commit is contained in:
Родитель
209dfdb1ac
Коммит
413cc1e5e3
|
@ -378,7 +378,7 @@ class GTestTest(RemoteTest):
|
|||
# The following list corresponds to paths that should not be copied over to
|
||||
# the device during tests. In other words, these files are only ever used on
|
||||
# the host.
|
||||
_FILE_BLACKLIST = [
|
||||
_FILE_IGNORELIST = [
|
||||
re.compile(r'.*build/android.*'),
|
||||
re.compile(r'.*build/chromeos.*'),
|
||||
re.compile(r'.*build/cros_cache.*'),
|
||||
|
@ -518,7 +518,7 @@ class GTestTest(RemoteTest):
|
|||
for f in files:
|
||||
rel_file_path = os.path.relpath(
|
||||
os.path.abspath(os.path.join(self._path_to_outdir, f)))
|
||||
if not any(regex.match(rel_file_path) for regex in self._FILE_BLACKLIST):
|
||||
if not any(regex.match(rel_file_path) for regex in self._FILE_IGNORELIST):
|
||||
rel_file_paths.append(rel_file_path)
|
||||
return rel_file_paths
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче