mirror of
https://github.com/stenzek/duckstation.git
synced 2024-11-23 05:49:43 +00:00
RegTest: Check size before hash
Some checks failed
Create rolling release / linux-build (push) Failing after 0s
Create rolling release / linux-flatpak-build (push) Failing after 0s
Create rolling release / windows-build (push) Has been cancelled
Create rolling release / windows-arm64-build (push) Has been cancelled
Create rolling release / macos-build (push) Has been cancelled
Create rolling release / create-release (push) Has been cancelled
Some checks failed
Create rolling release / linux-build (push) Failing after 0s
Create rolling release / linux-flatpak-build (push) Failing after 0s
Create rolling release / windows-build (push) Has been cancelled
Create rolling release / windows-arm64-build (push) Has been cancelled
Create rolling release / macos-build (push) Has been cancelled
Create rolling release / create-release (push) Has been cancelled
This commit is contained in:
parent
206f32e511
commit
cf32774b24
@ -260,6 +260,9 @@ def write(line):
|
||||
|
||||
def compare_frames(path1, path2):
|
||||
try:
|
||||
if os.stat(path1).st_size != os.stat(path2).st_size:
|
||||
return False
|
||||
|
||||
with open(path1, "rb") as f:
|
||||
hash1 = hashlib.md5(f.read()).digest()
|
||||
with open(path2, "rb") as f:
|
||||
|
Loading…
Reference in New Issue
Block a user