mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-02-10 05:57:28 +00:00
autopkgtest: Trigger DKMS packages for linux-meta-* backports too
This commit is contained in:
parent
f803604274
commit
ec83f7aaff
@ -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
|
||||
|
@ -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'''
|
||||
|
Loading…
x
Reference in New Issue
Block a user