mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-02-10 14:07:29 +00:00
linux-meta: add synthetic dependancy for snapd
Signed-off-by: Andy Whitcroft <apw@canonical.com>
This commit is contained in:
parent
766ed38d40
commit
71c8773b7d
@ -380,7 +380,7 @@ class AutopkgtestPolicy(BasePolicy):
|
||||
# Hardcode linux-meta → linux, lxc, glibc, systemd triggers until we get a more flexible
|
||||
# implementation: https://bugs.debian.org/779559
|
||||
if src.startswith('linux-meta'):
|
||||
for pkg in ['lxc', 'lxd', 'glibc', src.replace('linux-meta', 'linux'), 'systemd']:
|
||||
for pkg in ['lxc', 'lxd', 'glibc', src.replace('linux-meta', 'linux'), 'systemd', 'snapd']:
|
||||
if pkg not in reported_pkgs:
|
||||
# does this have any image on this arch?
|
||||
for pkg_id in srcinfo.binaries:
|
||||
|
@ -1884,6 +1884,8 @@ class T(TestBase):
|
||||
testsuite='autopkgtest')
|
||||
self.data.add('systemd', False, {'Testsuite-Triggers': 'linux-generic'},
|
||||
testsuite='autopkgtest')
|
||||
self.data.add('snapd2', False, {'Testsuite-Triggers': 'linux-generic'},
|
||||
testsuite='autopkgtest')
|
||||
self.data.add('linux-image-1', False, {'Source': 'linux'}, testsuite='autopkgtest')
|
||||
self.data.add('linux-libc-dev', False, {'Source': 'linux'}, testsuite='autopkgtest')
|
||||
self.data.add('linux-image', False, {'Source': 'linux-meta', 'Depends': 'linux-image-1'})
|
||||
@ -1902,6 +1904,7 @@ class T(TestBase):
|
||||
'glibc': {'amd64': 'RUNNING-ALWAYSFAIL', 'i386': 'RUNNING-ALWAYSFAIL'},
|
||||
'linux': {'amd64': 'RUNNING-ALWAYSFAIL', 'i386': 'RUNNING-ALWAYSFAIL'},
|
||||
'systemd': {'amd64': 'RUNNING-ALWAYSFAIL', 'i386': 'RUNNING-ALWAYSFAIL'},
|
||||
'snapd': {'amd64': 'RUNNING-ALWAYSFAIL', 'i386': 'RUNNING-ALWAYSFAIL'},
|
||||
}),
|
||||
'linux-meta-64only': (False, {'lxc': {'amd64': 'RUNNING'}}),
|
||||
'linux': (False, {}),
|
||||
|
Loading…
x
Reference in New Issue
Block a user