From ed91345c061ed926cc1d04ce94c20f1c2689d370 Mon Sep 17 00:00:00 2001 From: Niels Thykier Date: Sun, 26 Apr 2015 18:20:11 +0200 Subject: [PATCH] britney.py: Skip ESSENTIAL consistency check The live-data tests rely on an inconsistency, since they were before Britney started to record the Essential field. Signed-off-by: Niels Thykier --- britney.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/britney.py b/britney.py index 3a11e53..170c194 100755 --- a/britney.py +++ b/britney.py @@ -334,9 +334,13 @@ class Britney(object): def _check_mismatches(self, arch): suites = [s for s in self.binaries if arch in self.binaries[s]] + # NB: ESSENTIAL deliberately skipped as the 2011 and 2012 + # parts of the live-data tests requires it (britney merges + # this field correctly from the unstable version where + # available) check_field_name = dict( (globals()[fn], fn) for fn in ("SOURCE SOURCEVER ARCHITECTURE MULTIARCH" - + " DEPENDS CONFLICTS PROVIDES ESSENTIAL").split() ) + + " DEPENDS CONFLICTS PROVIDES").split() ) check_fields = check_field_name.keys() any_mismatch = False