autopkgtest: Trigger DKMS packages for linux-meta-* backports too

This commit is contained in:
Martin Pitt 2015-08-28 06:44:12 +02:00
parent f803604274
commit ec83f7aaff
2 changed files with 8 additions and 4 deletions

View File

@ -171,9 +171,9 @@ class AutoPackageTest(object):
extra_bins = []
# Hack: For new kernels trigger all DKMS packages by pretending that
# linux-meta builds a "dkms" binary as well. With that we ensure that we
# linux-meta* builds a "dkms" binary as well. With that we ensure that we
# don't regress DKMS drivers with new kernel versions.
if src == 'linux-meta':
if src.startswith('linux-meta'):
extra_bins.append('dkms')
# plus all direct reverse dependencies of its binaries which have

View File

@ -1122,8 +1122,12 @@ lightgreen 1 i386 green 3
self.data.add('fancy-dkms', False, {'Source': 'fancy', 'Depends': 'dkms (>= 1)'})
self.do_test(
[('linux-image-generic', {'Source': 'linux-meta'}, None)],
{'linux-meta': (False, {'fancy 1': {'amd64': 'RUNNING', 'i386': 'RUNNING'}})})
[('linux-image-generic', {'Source': 'linux-meta'}, None),
('linux-image-grumpy-generic', {'Source': 'linux-meta-lts-grumpy'}, None)
],
{'linux-meta': (False, {'fancy 1': {'amd64': 'RUNNING', 'i386': 'RUNNING'}}),
'linux-meta-lts-grumpy': (False, {'fancy 1': {'amd64': 'RUNNING', 'i386': 'RUNNING'}})
})
def test_disable_adt(self):
'''Run without autopkgtest requests'''