diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-02-26 17:45:20 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-02-26 17:47:56 +0000 |
commit | df9382e380e6fbf7fe9aca68610f838fb4646dc7 (patch) | |
tree | 2e357da317b25a41d45ccc9ecd6ee3bf0e6510f5 /meta/lib | |
parent | 255fdb9f7446808780f30a91a4061828b2ea9d03 (diff) | |
download | poky-df9382e380e6fbf7fe9aca68610f838fb4646dc7.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.
(From OE-Core rev: 25f78abd8bbeb201fd9452e7983e015027954948)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
-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 ce4e8ebe06..05fc4b7fa0 100644 --- a/meta/lib/oeqa/selftest/cases/reproducible.py +++ b/meta/lib/oeqa/selftest/cases/reproducible.py | |||
@@ -123,7 +123,7 @@ def compare_file(reference, test, diffutils_sysroot): | |||
123 | result.status = MISSING | 123 | result.status = MISSING |
124 | return result | 124 | return result |
125 | 125 | ||
126 | r = runCmd(['cmp', '--quiet', reference, test], native_sysroot=diffutils_sysroot, ignore_status=True) | 126 | r = runCmd(['cmp', '--quiet', reference, test], native_sysroot=diffutils_sysroot, ignore_status=True, sync=False) |
127 | 127 | ||
128 | if r.status: | 128 | if r.status: |
129 | result.status = DIFFERENT | 129 | result.status = DIFFERENT |