autopkgtest: also test for autodep8 for migration runs

ubuntu/rebased
Paul Gevers 5 years ago
parent b380508635
commit 177b65d674
No known key found for this signature in database
GPG Key ID: 9C5C99EB05BD750A

@ -1064,7 +1064,7 @@ class AutopkgtestPolicy(BasePolicy):
test_in_target = False test_in_target = False
try: try:
srcinfo = self.suite_info.target_suite.sources[src] srcinfo = self.suite_info.target_suite.sources[src]
if 'autopkgtest' in srcinfo.testsuite: if 'autopkgtest' in srcinfo.testsuite or self.has_autodep8(srcinfo):
test_in_target = True test_in_target = True
except KeyError: except KeyError:
pass pass

Loading…
Cancel
Save