summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHsin-Yi Chen <hsinyichen@google.com>2024-01-24 02:17:42 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2024-01-24 02:17:42 +0000
commit14dea2e488e7b769764f8b37eacad36c3f5c74c6 (patch)
treef7587e765a21361814297c365d42123dcbb6a013
parent77c786145c08e7c406ef36a69cfbd78c0ce4a319 (diff)
parent9f34c6128acdf2ccafd189b6ccb7ab4bda078b88 (diff)
downloadvndk-14dea2e488e7b769764f8b37eacad36c3f5c74c6.tar.gz
Merge "RESTRICT AUTOMERGE Do not test the ELF objects not built for Android" into android14-tests-dev
-rw-r--r--dependency/vts_vndk_dependency_test.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/dependency/vts_vndk_dependency_test.py b/dependency/vts_vndk_dependency_test.py
index 5e00528..f11838c 100644
--- a/dependency/vts_vndk_dependency_test.py
+++ b/dependency/vts_vndk_dependency_test.py
@@ -263,9 +263,8 @@ class VtsVndkDependencyTest(unittest.TestCase):
target_path)
continue
if not self._IsElfObjectBuiltForAndroid(elf, target_path):
- logging.warning("%s is not built for Android, which is no "
- "longer exempted.", target_path)
-
+ logging.warning("%s is not built for Android", target_path)
+ continue
deps, runpaths = elf.ListDependencies()
except elf_parser.ElfError as e:
elf_error_handler(target_path, e)