diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-12-28 08:36:44 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-12-28 08:36:44 +0000 |
commit | 6c791f64542f2ba651eec836a5fdeb8fc6369ce7 (patch) | |
tree | 85b0afc96e8fd191af446205a19d504480376038 | |
parent | 72fac9270b0298c0c6cca375d2e0c72b60574af9 (diff) | |
parent | 32a0d8374b40287e86143a98de9af66ed8a217da (diff) | |
download | vndk-6c791f64542f2ba651eec836a5fdeb8fc6369ce7.tar.gz |
Snap for 11258372 from 32a0d8374b40287e86143a98de9af66ed8a217da to mainline-permission-releaseaml_per_341510010
Change-Id: Iac13a8f2f519e4fb10f4e56ec32393fe2f27ced3
-rw-r--r-- | files/vts_vndk_files_test.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/files/vts_vndk_files_test.py b/files/vts_vndk_files_test.py index faa3e6a..99f8598 100644 --- a/files/vts_vndk_files_test.py +++ b/files/vts_vndk_files_test.py @@ -130,6 +130,13 @@ class VtsVndkFilesTest(unittest.TestCase): logging.info("Skip the test as VNDK runtime is not enforced on " "the device.") 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, |