summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-12-06 03:20:42 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-12-06 03:20:42 +0000
commit1d45389867a971b230584f882fafb5711b4f8ee3 (patch)
tree133e2002c0b4165eb9e1d6233e4b8a864d38894c
parenta8fb1204bfe776bff741f9aadd20e26bbebf5048 (diff)
parent432602aa51bde21e65e23aa73c43cbbac752029b (diff)
downloadvndk-1d45389867a971b230584f882fafb5711b4f8ee3.tar.gz
Snap for 11182773 from 432602aa51bde21e65e23aa73c43cbbac752029b to mainline-appsearch-releaseaml_ase_341410000android14-mainline-appsearch-release
Change-Id: I2790da818e7ac8fe6588434cab1cdf7d939a9ad6
-rw-r--r--abi/vts_vndk_abi_test.py9
-rw-r--r--golden/vndk_data.py5
2 files changed, 12 insertions, 2 deletions
diff --git a/abi/vts_vndk_abi_test.py b/abi/vts_vndk_abi_test.py
index 140c1c4..85627a3 100644
--- a/abi/vts_vndk_abi_test.py
+++ b/abi/vts_vndk_abi_test.py
@@ -314,6 +314,15 @@ class VtsVndkAbiTest(unittest.TestCase):
dump_version = self._dut.GetVndkVersion()
self.assertTrue(dump_version, "Cannot determine VNDK version.")
+ # VNDK 35 will not be frozen.
+ try:
+ if int(dump_version) > 34:
+ logging.info("Skip the test. version: %s ABI: %s bitness: %d",
+ dump_version, primary_abi, bitness)
+ return
+ except ValueError:
+ pass
+
dump_paths = vndk_data.GetAbiDumpPathsFromResources(
dump_version,
binder_bitness,
diff --git a/golden/vndk_data.py b/golden/vndk_data.py
index cf0cd59..a35c1c0 100644
--- a/golden/vndk_data.py
+++ b/golden/vndk_data.py
@@ -198,8 +198,9 @@ def LoadVndkLibraryListsFromResources(version, *tags):
logging.error("Could not import resources module.")
return None
- version_str = (version if version and re.match("\\d+", version) else
- "current")
+ # VNDK 35 will not be frozen.
+ version_str = (version if re.match("\\d+", version) and int(version) <= 34
+ else "current")
vndk_lib_list_name = version_str + ".txt"
vndk_lib_extra_list_name = "vndk-lib-extra-list-" + version_str + ".txt"