mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-02-13 23:38:20 +00:00
Trigger linux rebuild test on upload of gcc-defaults
The update of gcc to gcc-9 introduced a regression in buildability of anything relying on kernel headers. This could have been caught by the kernel's standard rebuild autopkgtest, but we currently only trigger the linux autopkgtest for source packages named gcc-N, which excludes gcc-defaults. Include gcc-defaults in the list of packages that trigger a linux rebuild test. Bug-Ubuntu: https://bugs.launchpad.net/bugs/1836100
This commit is contained in:
parent
6f1295e3fe
commit
df2babdd0c
@ -605,7 +605,7 @@ class AutopkgtestPolicy(BasePolicy):
|
||||
# serves no purpose. Just check some key packages which actually use
|
||||
# gcc during the test, and doxygen as an example for a libgcc user.
|
||||
if src.startswith('gcc-'):
|
||||
if re.match(r'gcc-\d$', src):
|
||||
if re.match(r'gcc-\d$', src) or src == 'gcc-defaults':
|
||||
# add gcc's own tests, if it has any
|
||||
srcinfo = source_suite.sources[src]
|
||||
if 'autopkgtest' in srcinfo.testsuite:
|
||||
|
Loading…
x
Reference in New Issue
Block a user