mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-31 16:17:19 -05:00
chore: name the remedy for an unheld pin
This commit is contained in:
1 parent
ccac829b54
commit
3e6da220b8
1 file changed
+6
-1
@@ -133,10 +133,15 @@ class ShippedFilesSatisfyTheirDeclaration(unittest.TestCase):
|
|||||||
if not satisfied:
|
if not satisfied:
|
||||||
first = candidates[0][1]
|
first = candidates[0][1]
|
||||||
algo = sorted(first)[0]
|
algo = sorted(first)[0]
|
||||||
|
# A core's copy at the path means the builder found no
|
||||||
|
# file with the pinned bytes and filled the slot for the
|
||||||
|
# core (generate_pack's core phase): the pin is to acquire.
|
||||||
|
filled = (" (a core's copy: the pinned file is not held, acquire it)"
|
||||||
|
if shipped.get("cores") and not shipped.get("systems") else "")
|
||||||
violations.append(
|
violations.append(
|
||||||
f"{platform}: {shipped['dest']} ships {repo_path} "
|
f"{platform}: {shipped['dest']} ships {repo_path} "
|
||||||
f"with {algo} {digests[algo][0]}, declared "
|
f"with {algo} {digests[algo][0]}, declared "
|
||||||
f"{sorted(first[algo])[0]}"
|
f"{sorted(first[algo])[0]}{filled}"
|
||||||
)
|
)
|
||||||
self.assertEqual(
|
self.assertEqual(
|
||||||
violations, [],
|
violations, [],
|
||||||
|
|||||||
Reference in new issue
Block a user