Investigate bug in apisetmap testing on gitlab CI

This commit is contained in:
hakril
2025-10-15 15:01:03 +02:00
parent c7c8830ce5
commit 1509f7bd56
+2
View File
@@ -32,6 +32,8 @@ def verify_apisetmap_parsing(apisetmap_base, version=None):
# Verify that at least one entry resolve to kernel32.dll
# This ensure that the ApiSetMap parsing works at least a little
assert "kernel32.dll" in apisetmap_dict.values()
for dll in sorted(apisetmap_dict):
print(dll)
assert all(any(dll.startswith(pref) for pref in KNOWN_APISETMAP_PREFIX) for dll in apisetmap_dict)
# This first key was found in most of the tested version by hand
# MS-Win found on: 6.1.7600 (Win7)