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

apertis-abi-compare: sort headers and libraries lists


Having these headers and libraries lists in a not reproducible order
can generate random errors with abi-compliance-checker

Signed-off-by: default avatarDylan Aïssi <dylan.aissi@collabora.com>
parent 30f03826
No related branches found
No related tags found
3 merge requests!44Merge changes from apertis/v2022-updates into apertis/v2022,!38Backport v2022-updates <- v2023pre: Improvement ABI checker script,!30Improve apertis-abi-compare tool
......@@ -62,8 +62,10 @@ def define_xml(pkgs_path, version):
my_headers = list(pathlib.Path(pkgs_path).glob('usr/include/**/*.h'))
my_headers = list(map(str, my_headers))
my_headers = sorted(my_headers)
my_libs = list(pathlib.Path(pkgs_path).glob('**/*.so'))
my_libs = list(map(str, my_libs))
my_libs = sorted(my_libs)
generate_xml(xml_descr, version, my_headers, my_libs)
print(f'INFO: XML descriptor generated: {xml_descr}')
......
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