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

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.")