Skip to content
Snippets Groups Projects
Commit 4fa2faf3 authored by Dylan Aïssi's avatar Dylan Aïssi
Browse files

apertis-abi-compare: convert xml_new and xml_old in string


to be consistent with other arguments passed to run_abi_checker()

Signed-off-by: default avatarDylan Aïssi <dylan.aissi@collabora.com>
parent 4d60bba6
No related branches found
No related tags found
3 merge requests!44Merge changes from apertis/v2022-updates into apertis/v2022,!43Backport v2022-updates <- v2023pre: Improvement ABI checker script,!41apertis-abi-compare: Improve the final output with a summary
......@@ -187,12 +187,12 @@ def abi_checker(lib_names_old, xml_descr_old, my_old_ver, lib_names_new, xml_des
for xml in xml_descr_new:
xml_data = pathlib.Path(xml).read_text()
if my_lib in xml_data:
xml_new = xml
xml_new = str(xml)
break
for xml in xml_descr_old:
xml_data = pathlib.Path(xml).read_text()
if my_lib in xml_data:
xml_old = xml
xml_old = str(xml)
break
rac_returncode = run_abi_checker(lib, xml_old, my_old_ver, xml_new, my_new_ver, arch)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment