diff options
author | Hsin-Yi Chen <hsinyichen@google.com> | 2023-12-04 12:18:57 +0800 |
---|---|---|
committer | Hsin-Yi Chen <hsinyichen@google.com> | 2023-12-04 17:06:05 +0800 |
commit | 0f905a05c11053e162806019b3762cc2dafcd6a2 (patch) | |
tree | 85b0afc96e8fd191af446205a19d504480376038 | |
parent | 00357752d5fdd622d10fbbea2ad49805001df4ba (diff) | |
download | vndk-0f905a05c11053e162806019b3762cc2dafcd6a2.tar.gz |
Skip VtsVndkFilesTest.testVndkCoreDirectory for version 35
Test: atest vts_vndk_files_test
Bug: 309880956
Change-Id: I9aba61338a10a15682ddc97ae7a139ee0822856c
Merged-In: I9aba61338a10a15682ddc97ae7a139ee0822856c
(cherry picked from commit 50635e629a8a91690bfd1434e4791a7ecca40f5e)
-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, |