summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyeongkab.Nam <Kyeongkab.Nam@sony.com>2024-01-22 10:50:35 +0900
committerHsin-Yi Chen <hsinyichen@google.com>2024-01-23 02:47:53 +0000
commit6c6b6dcdb07521d2df3388b179ba9785da5bcb00 (patch)
tree2631cddff4c894868a12d1dc1fdfd8d8f1a11bd3
parent47dda9ad62e915d5091423fd7d421d77d285e6a8 (diff)
downloadvndk-6c6b6dcdb07521d2df3388b179ba9785da5bcb00.tar.gz
RESTRICT AUTOMERGE Do not test the ELF objects not built for Androidandroid12-tests-dev
Bug: 321629626 Bug: 133399940 Test: vts-tradefed run vts -m VtsVndkDependency Change-Id: Idfa553563390d94f1efd8aa717c0928a80ebc57b
-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 0795d05..8be9ed9 100644
--- a/dependency/vts_vndk_dependency_test.py
+++ b/dependency/vts_vndk_dependency_test.py
@@ -259,9 +259,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)