mirror of
git://git.yoctoproject.org/poky
synced 2026-08-12 08:40:51 +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: dd893279f352e290c23577a0f91df1b8c6232f10) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 25f78abd8bbeb201fd9452e7983e015027954948) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
ec6f9694ea
commit
9ee329c18f
@ -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…
x
Reference in New Issue
Block a user