summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHsin-Yi Chen <hsinyichen@google.com>2023-12-04 10:21:14 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2023-12-04 10:21:14 +0000
commit81b7b932dbe2fe91669494fcd36643ff99d82283 (patch)
tree32268a91b469d0ad4d4ffe8631c67692c77be8f9
parentd7e97900a8ba9112a8bd63118c6321709575fed0 (diff)
parente0b4525dcb2b6d0728a820b5cf1a3b5f69f61a36 (diff)
downloadvndk-81b7b932dbe2fe91669494fcd36643ff99d82283.tar.gz
Skip VtsVndkFilesTest.testVndkCoreDirectory for version 35 am: 50635e629a am: ab59a93882 am: e0b4525dcb
Original change: https://android-review.googlesource.com/c/platform/test/vts-testcase/vndk/+/2856611 Change-Id: I1d4dcb6c280db9edc2821a9f97f41cb6c65fe80f Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r--files/vts_vndk_files_test.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/files/vts_vndk_files_test.py b/files/vts_vndk_files_test.py
index 777cd94..1563d24 100644
--- a/files/vts_vndk_files_test.py
+++ b/files/vts_vndk_files_test.py
@@ -133,6 +133,13 @@ class VtsVndkFilesTest(unittest.TestCase):
if not vndk_utils.IsVndkRequired(self._dut):
logging.info("Skip the test as the device does not require VNDK.")
return
+ try:
+ if int(self._vndk_version) > 34:
+ logging.info("Skip the test as VNDK %s should be installed in "
+ "vendor partition.", self._vndk_version)
+ return
+ except ValueError:
+ pass
self._TestVndkDirectory(
vndk_utils.GetVndkDirectory(bitness, self._vndk_version),
(vndk_data.VNDK, vndk_data.VNDK_PRIVATE, vndk_data.VNDK_SP,