summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-02-13 15:57:32 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-02-13 17:01:12 +0000
commitcb0c95dedbdc4911c827955d6270d8f6331bc1d5 (patch)
tree74c164df1a888698f4512e87b7a7d7effe4757e4 /meta
parent84c37fad4c7e559d5ebeec34623d4106a47c1164 (diff)
downloadpoky-cb0c95dedbdc4911c827955d6270d8f6331bc1d5.tar.gz
selftest/reproducible: Sort the unused exclusion list
This makes comparisions between lists easier. (From OE-Core rev: d2c52125d1cdc06c7e08d507ca68f3e4612a4314) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-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 ecd69b3577..860c8c9588 100644
--- a/meta/lib/oeqa/selftest/cases/reproducible.py
+++ b/meta/lib/oeqa/selftest/cases/reproducible.py
@@ -133,7 +133,7 @@ class PackageCompareResults(object):
133 return 'same=%i different=%i different_excluded=%i missing=%i total=%i\nunused_exclusions=%s' % (len(self.same), len(self.different), len(self.different_excluded), len(self.missing), len(self.total), self.unused_exclusions()) 133 return 'same=%i different=%i different_excluded=%i missing=%i total=%i\nunused_exclusions=%s' % (len(self.same), len(self.different), len(self.different_excluded), len(self.missing), len(self.total), self.unused_exclusions())
134 134
135 def unused_exclusions(self): 135 def unused_exclusions(self):
136 return set(exclude_packages) - self.active_exclusions 136 return sorted(set(exclude_packages) - self.active_exclusions)
137 137
138def compare_file(reference, test, diffutils_sysroot): 138def compare_file(reference, test, diffutils_sysroot):
139 result = CompareResult() 139 result = CompareResult()