diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-02-26 17:45:20 +0000 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2021-03-04 04:19:50 -1000 |
commit | dd893279f352e290c23577a0f91df1b8c6232f10 (patch) | |
tree | 3ccfb25088626524f3a886290892f41af937d2dd /meta | |
parent | fdb3ff363c6f8408058f362f3bfdeee4e18150fa (diff) | |
download | openembedded-core-contrib-dd893279f352e290c23577a0f91df1b8c6232f10.tar.gz |
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.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 25f78abd8bbeb201fd9452e7983e015027954948)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/lib/oeqa/selftest/cases/reproducible.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/selftest/cases/reproducible.py b/meta/lib/oeqa/selftest/cases/reproducible.py index d4800022df..7f74cec28f 100644 --- a/meta/lib/oeqa/selftest/cases/reproducible.py +++ b/meta/lib/oeqa/selftest/cases/reproducible.py @@ -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 |