summaryrefslogtreecommitdiffstats
path: root/meta/lib
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-02-26 17:45:20 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-02-26 17:47:56 +0000
commitdf9382e380e6fbf7fe9aca68610f838fb4646dc7 (patch)
tree2e357da317b25a41d45ccc9ecd6ee3bf0e6510f5 /meta/lib
parent255fdb9f7446808780f30a91a4061828b2ea9d03 (diff)
downloadpoky-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.py2
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