mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-08-07 13:44:05 +00:00
Update gcc regexp to handle gcc versions > 9
This commit is contained in:
parent
dfe2205bc7
commit
fd48bfe54b
@ -657,7 +657,7 @@ class AutopkgtestPolicy(BasePolicy):
|
|||||||
# serves no purpose. Just check some key packages which actually use
|
# serves no purpose. Just check some key packages which actually use
|
||||||
# gcc during the test, and doxygen as an example for a libgcc user.
|
# gcc during the test, and doxygen as an example for a libgcc user.
|
||||||
if src.startswith('gcc-'):
|
if src.startswith('gcc-'):
|
||||||
if re.match(r'gcc-\d$', src) or src == 'gcc-defaults':
|
if re.match(r'gcc-\d+$', src) or src == 'gcc-defaults':
|
||||||
# add gcc's own tests, if it has any
|
# add gcc's own tests, if it has any
|
||||||
srcinfo = source_suite.sources[src]
|
srcinfo = source_suite.sources[src]
|
||||||
if 'autopkgtest' in srcinfo.testsuite:
|
if 'autopkgtest' in srcinfo.testsuite:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user