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 12:23:28 +0800 |
commit | 50635e629a8a91690bfd1434e4791a7ecca40f5e (patch) | |
tree | 01af43c7341a888d606de5278528b603f61bd0b5 | |
parent | 354e683c3e38f0fee5a38bec26419f05cc747342 (diff) | |
download | vndk-50635e629a8a91690bfd1434e4791a7ecca40f5e.tar.gz |
Skip VtsVndkFilesTest.testVndkCoreDirectory for version 35
Test: atest vts_vndk_files_test
Bug: 309880956
Change-Id: I9aba61338a10a15682ddc97ae7a139ee0822856c
-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 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, |