autopkgtest: give blacklisted packages a version of 'blacklisted'

ubuntu/rebased
Paul Gevers 7 years ago
parent 7635a22d55
commit d0fd1872d4
No known key found for this signature in database
GPG Key ID: 9C5C99EB05BD750A

@ -130,7 +130,7 @@ class AutopkgtestPolicy(BasePolicy):
if res['status'] is not None and res['trigger'] is not None:
# Blacklisted tests don't get a version
if res['version'] is None:
res['version'] = '0'
res['version'] = 'blacklisted'
(trigger, src, arch, ver, passed, stamp) = ([res['trigger'], res['package'], res['arch'], res['version'], res['status'] == 'pass', res['run_id']])
self.add_trigger_to_results(trigger, src, ver, arch, stamp, passed)
self.remove_from_pending(trigger, src, arch)

Loading…
Cancel
Save