mirror of
https://git.yoctoproject.org/git/poky
synced 2026-01-01 13:58:04 +00:00
selftest/reproducible: Don't call sync between each file compare
Calling sync between each file compare is horrible performance wise as we compare thousands of files. We don't care about IO latency here so disable. (From OE-Core rev: 1fddd6b891265956e0a26963459e7511d757cace) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 25f78abd8bbeb201fd9452e7983e015027954948) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
b215bdfbde
commit
ef8583231a
|
|
@ -68,7 +68,7 @@ def compare_file(reference, test, diffutils_sysroot):
|
|||
result.status = MISSING
|
||||
return result
|
||||
|
||||
r = runCmd(['cmp', '--quiet', reference, test], native_sysroot=diffutils_sysroot, ignore_status=True)
|
||||
r = runCmd(['cmp', '--quiet', reference, test], native_sysroot=diffutils_sysroot, ignore_status=True, sync=False)
|
||||
|
||||
if r.status:
|
||||
result.status = DIFFERENT
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user