summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2018-05-02 07:20:36 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2018-05-02 07:20:36 +0000
commite16fceb64090b4f01eed90376d70e8a19f971d2b (patch)
tree1f6724b0a53be4e947debfeee3cad5086c4144b1
parentd2d7ca7bad78eb2785dc577921ad986bf919f89f (diff)
parent8bba91f5e679493b1ef5716459c996dd2e5cdab2 (diff)
downloadvndk-e16fceb64090b4f01eed90376d70e8a19f971d2b.tar.gz
Snap for 4756844 from 8bba91f5e679493b1ef5716459c996dd2e5cdab2 to pi-release
Change-Id: Ifc83eee5a2fc670eb73d4dce633265316a19252d
-rw-r--r--abi/VtsVndkAbiTest.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/abi/VtsVndkAbiTest.py b/abi/VtsVndkAbiTest.py
index d277073..65bf930 100644
--- a/abi/VtsVndkAbiTest.py
+++ b/abi/VtsVndkAbiTest.py
@@ -144,6 +144,11 @@ class VtsVndkAbiTest(base_test.BaseTestClass):
dump_vtables = parser.ParseVtablesFromString(dump_file.read())
lib_vtables = parser.ParseVtablesFromLibrary(lib_path)
+ # TODO(b/78316564): The dumper doesn't support SHT_ANDROID_RELA.
+ if not lib_vtables and self.run_as_compliance_test:
+ logging.warning("%s: Cannot dump vtables",
+ os.path.relpath(lib_path, self._temp_dir))
+ return []
logging.debug("%s: %s", lib_path, lib_vtables)
diff = []
for vtable, dump_symbols in dump_vtables.iteritems():