1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 05:09:24 +00:00

sstatetests: pass the right files when comparing sigfiles

(From OE-Core rev: 65cc20690e7827df3d84ebea6357eebabb668f50)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ross Burton
2018-02-22 12:47:20 +00:00
committed by Richard Purdie
parent 180513fea4
commit 1bcbe159aa
+2 -2
View File
@@ -526,7 +526,7 @@ http_proxy = "http://example.com/"
# this is an expensive computation, thus just compare the first 'max_sigfiles_to_compare' k files
max_sigfiles_to_compare = 20
first, rest = files[:max_sigfiles_to_compare], files[max_sigfiles_to_compare:]
compare_sigfiles(first, files1.keys(), files2.keys(), compare=True)
compare_sigfiles(rest, files1.keys(), files2.keys(), compare=False)
compare_sigfiles(first, files1, files2, compare=True)
compare_sigfiles(rest, files1, files2, compare=False)
self.fail("sstate hashes not identical.")