mirror of
https://github.com/systemd/systemd.git
synced 2025-02-28 05:57:33 +03:00
test: sort files in generate-sym-test.py
The test binaries are different depending on the filesystem, due to os.walk(). Sort the input before iterating on it to make it stable.
This commit is contained in:
parent
620788da17
commit
22f62b8917
@ -65,7 +65,7 @@ with open(sys.argv[1], "r") as f:
|
||||
print(''' {}
|
||||
}, symbols_from_source[] = {''')
|
||||
|
||||
for dirpath, _, filenames in os.walk(sys.argv[2]):
|
||||
for dirpath, _, filenames in sorted(os.walk(sys.argv[2])):
|
||||
for filename in filenames:
|
||||
if not filename.endswith(".c") and not filename.endswith(".h"):
|
||||
continue
|
||||
|
Loading…
x
Reference in New Issue
Block a user