diff options
| author | Iain Lane <iain.lane@canonical.com> | 2017-01-11 10:43:30 (GMT) |
|---|---|---|
| committer | Iain Lane <iain.lane@canonical.com> | 2017-02-07 15:16:51 (GMT) |
| commit | 41d51369f54d695153fcd71043b511883392a5bf (patch) | |
| tree | 949b971771fdba6c548a9f76fee773dfb0bd5a98 /britney2/policies/autopkgtest.py | |
| parent | 8310df678ba753afb012c668f5d78a598b835e93 (diff) | |
autopkgtest: Accept packages which have dropped their tests in unstable
Currently we re-trigger all reverse binary dependencies of a package,
including binary packages built from the same source. We already
explicity trigger the source's own tests if they still exist in unstable
- don't also consider the source when looking at reverse dependencies.
Diffstat (limited to 'britney2/policies/autopkgtest.py')
| -rw-r--r-- | britney2/policies/autopkgtest.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/britney2/policies/autopkgtest.py b/britney2/policies/autopkgtest.py index f06445d..28c3b12 100644 --- a/britney2/policies/autopkgtest.py +++ b/britney2/policies/autopkgtest.py @@ -352,6 +352,11 @@ class AutopkgtestPolicy(BasePolicy): for rdep in rdeps: try: rdep_src = binaries_info[rdep.package_name].source + # Don't re-trigger the package itself here; this should + # have been done above if the package still continues to + # have an autopkgtest in unstable. + if rdep_src == src: + continue except KeyError: self.log('%s on %s has no source (NBS?)' % (rdep.package_name, arch)) continue |
