autopkgtest: in Debian we want linux to be treated as any other

This commit is contained in:
Paul Gevers 2019-01-20 21:57:06 +01:00 committed by Niels Thykier
parent 1ca76486b5
commit 16f823dd91

View File

@ -949,7 +949,8 @@ class AutopkgtestPolicy(BasePolicy):
# might work against the default kernel but fail against a
# different flavor; so for those, ignore the "ever
# passed" check; FIXME: check against trigsrc only
if trigger.startswith('linux-meta') or trigger.startswith('linux/'):
if self.options.adt_baseline != 'reference' and \
(trigger.startswith('linux-meta') or trigger.startswith('linux/')):
baseline_result = Result.FAIL
if baseline_result == Result.FAIL: