summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-12-05 02:52:40 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-12-05 02:52:40 +0000
commit5f6acf630ee624f39c1b88091cf45df936819db0 (patch)
tree32268a91b469d0ad4d4ffe8631c67692c77be8f9
parent013d25a5b264fb31de234a3ff6d18e01241467ad (diff)
parenta75a14e7f4eeb905805d0a7d9ed8db89a19b9a83 (diff)
downloadvndk-5f6acf630ee624f39c1b88091cf45df936819db0.tar.gz
Snap for 11175020 from a75a14e7f4eeb905805d0a7d9ed8db89a19b9a83 to 24Q1-release
Change-Id: Iccbf3b85328dee0772326f38ab7578f65fa94d4d
-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,