Skip to content

Commit e4228dc

Browse files
committed
Sort libraries & reports
1 parent 1c69399 commit e4228dc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tools/build/smelly.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def get_extension_libraries():
127127

128128
builddir = config_dir / pybuilddir
129129
result = []
130-
for path in builddir.glob('**/*.so'):
130+
for path in sorted(builddir.glob('**/*.so')):
131131
if path.stem == IGNORED_EXTENSION:
132132
continue
133133
result.append(Library(path, is_dynamic=True))
@@ -162,7 +162,7 @@ def main():
162162
for library in libraries:
163163
symbols = get_exported_symbols(library)
164164
print(f"{library.path}: {len(symbols)} symbol(s) found")
165-
for symbol in symbols:
165+
for symbol in sorted(symbols):
166166
print(" -", symbol.name)
167167
if symbol.is_smelly:
168168
smelly_symbols.append(symbol)

0 commit comments

Comments
 (0)